aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/sgi_hotplug.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/hotplug/sgi_hotplug.c')
-rw-r--r--drivers/pci/hotplug/sgi_hotplug.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/pci/hotplug/sgi_hotplug.c b/drivers/pci/hotplug/sgi_hotplug.c
index 3eee70928d45..a4494d78e7c2 100644
--- a/drivers/pci/hotplug/sgi_hotplug.c
+++ b/drivers/pci/hotplug/sgi_hotplug.c
@@ -83,7 +83,6 @@ static int disable_slot(struct hotplug_slot *slot);
83static inline int get_power_status(struct hotplug_slot *slot, u8 *value); 83static inline int get_power_status(struct hotplug_slot *slot, u8 *value);
84 84
85static struct hotplug_slot_ops sn_hotplug_slot_ops = { 85static struct hotplug_slot_ops sn_hotplug_slot_ops = {
86 .owner = THIS_MODULE,
87 .enable_slot = enable_slot, 86 .enable_slot = enable_slot,
88 .disable_slot = disable_slot, 87 .disable_slot = disable_slot,
89 .get_power_status = get_power_status, 88 .get_power_status = get_power_status,
@@ -679,7 +678,7 @@ alloc_err:
679 return rc; 678 return rc;
680} 679}
681 680
682static int sn_pci_hotplug_init(void) 681static int __init sn_pci_hotplug_init(void)
683{ 682{
684 struct pci_bus *pci_bus = NULL; 683 struct pci_bus *pci_bus = NULL;
685 int rc; 684 int rc;
@@ -716,7 +715,7 @@ static int sn_pci_hotplug_init(void)
716 return registered == 1 ? 0 : -ENODEV; 715 return registered == 1 ? 0 : -ENODEV;
717} 716}
718 717
719static void sn_pci_hotplug_exit(void) 718static void __exit sn_pci_hotplug_exit(void)
720{ 719{
721 struct hotplug_slot *bss_hotplug_slot; 720 struct hotplug_slot *bss_hotplug_slot;
722 721