]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
trivial: pci hotplug: adding __init/__exit macros to sgi_hotplug
authorPeter Huewe <peterhuewe@gmx.de>
Sat, 6 Jun 2009 12:58:56 +0000 (14:58 +0200)
committerJiri Kosina <jkosina@suse.cz>
Fri, 12 Jun 2009 16:01:51 +0000 (18:01 +0200)
Trivial patch which adds the __init and __exit macros to the module_init /
module_exit functions from drivers/pci/hotplug/sgi_hotplug.c
linux version 2.6.30-rc8

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/pci/hotplug/sgi_hotplug.c

index 3eee70928d4581e6a77cb4d804611123f6bcf38d..2d6da78fddb649849c42f9778b52e6b4ce3e7713 100644 (file)
@@ -679,7 +679,7 @@ alloc_err:
        return rc;
 }
 
-static int sn_pci_hotplug_init(void)
+static int __init sn_pci_hotplug_init(void)
 {
        struct pci_bus *pci_bus = NULL;
        int rc;
@@ -716,7 +716,7 @@ static int sn_pci_hotplug_init(void)
        return registered == 1 ? 0 : -ENODEV;
 }
 
-static void sn_pci_hotplug_exit(void)
+static void __exit sn_pci_hotplug_exit(void)
 {
        struct hotplug_slot *bss_hotplug_slot;