aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-05-30 10:18:02 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-05-30 10:18:02 -0700
commitf8356ed00ebcdc2f209504c02b4ab8ba9a8a7ebe (patch)
tree9191d024e747919eb05b83662b7f40f77d76dbe7 /drivers
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input (diff)
parentPCI: fix rpadlpar pci hotplug driver sysfs usage (diff)
downloadlinux-dev-f8356ed00ebcdc2f209504c02b4ab8ba9a8a7ebe.tar.xz
linux-dev-f8356ed00ebcdc2f209504c02b4ab8ba9a8a7ebe.zip
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6: PCI: fix rpadlpar pci hotplug driver sysfs usage
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pci/hotplug/rpadlpar_sysfs.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/rpadlpar_sysfs.c b/drivers/pci/hotplug/rpadlpar_sysfs.c
index e32148a8fa12..779c5db71be4 100644
--- a/drivers/pci/hotplug/rpadlpar_sysfs.c
+++ b/drivers/pci/hotplug/rpadlpar_sysfs.c
@@ -18,8 +18,12 @@
#include "rpadlpar.h"
#define DLPAR_KOBJ_NAME "control"
-#define ADD_SLOT_ATTR_NAME "add_slot"
-#define REMOVE_SLOT_ATTR_NAME "remove_slot"
+
+/* Those two have no quotes because they are passed to __ATTR() which
+ * stringifies the argument (yuck !)
+ */
+#define ADD_SLOT_ATTR_NAME add_slot
+#define REMOVE_SLOT_ATTR_NAME remove_slot
#define MAX_DRC_NAME_LEN 64