]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/pci/slot.c
PCI: update pci_create_slot() to take a 'hotplug' param
[linux-2.6-omap-h63xx.git] / drivers / pci / slot.c
index b9b90ab6b8611d21059d17e467a642544fa3ee16..0e009c3ba5fd9b322d490e5836f9d717f9ab9472 100644 (file)
@@ -83,6 +83,7 @@ static struct kobj_type pci_slot_ktype = {
  * @parent: struct pci_bus of parent bridge
  * @slot_nr: PCI_SLOT(pci_dev->devfn) or -1 for placeholder
  * @name: user visible string presented in /sys/bus/pci/slots/<name>
+ * @hotplug: set if caller is hotplug driver, NULL otherwise
  *
  * PCI slots have first class attributes such as address, speed, width,
  * and a &struct pci_slot is used to manage them. This interface will
@@ -111,7 +112,8 @@ static struct kobj_type pci_slot_ktype = {
  */
 
 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr,
-                                const char *name)
+                                const char *name,
+                                struct hotplug_slot *hotplug)
 {
        struct pci_dev *dev;
        struct pci_slot *slot;