]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/pci/slot.c
PCI: update pci_create_slot() to take a 'hotplug' param
[karo-tx-linux.git] / drivers / pci / slot.c
index 7e5b85cbd9488936b9ecbd10928dde86618f842c..6c08a9d7ee623ca7ea670198c96e3e1702a93ecf 100644 (file)
@@ -78,6 +78,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
@@ -106,7 +107,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_slot *slot;
        int err;