projects/linux·commit f8356ed0

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6

f8356ed0 · Linus Torvalds <[email protected]> · 2008-05-30 10:18:02 -07:00

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
  PCI: fix rpadlpar pci hotplug driver sysfs usage
Commit
f8356ed00ebcdc2f209504c02b4ab8ba9a8a7ebe
Parents
7536d7be · a9b841e1

Merge commit. Changes below are compared with the first parent: 7536d7be.

Changes

1 files changed · +6 −2

FileStatusAddDelContent
drivers/pci/hotplug/rpadlpar_sysfs.cmodified+6−2View file

drivers/pci/hotplug/rpadlpar_sysfs.c

View file
diff --git a/drivers/pci/hotplug/rpadlpar_sysfs.c b/drivers/pci/hotplug/rpadlpar_sysfs.c
index e32148a..779c5db 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