diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2009-06-06 08:58:56 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-06-12 12:01:51 -0400 |
commit | db5ed9beabc0a2084ab0e0cc46bf911b8bf16fa8 (patch) | |
tree | d36ea661685c094a4674489365068dd0c0cd16dc /drivers/pci/hotplug/sgi_hotplug.c | |
parent | ff2f5ff0cf224780c3bd035d3e6ff4a30fcacae7 (diff) |
trivial: pci hotplug: adding __init/__exit macros to sgi_hotplug
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>
Diffstat (limited to 'drivers/pci/hotplug/sgi_hotplug.c')
-rw-r--r-- | drivers/pci/hotplug/sgi_hotplug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/sgi_hotplug.c b/drivers/pci/hotplug/sgi_hotplug.c index 3eee70928d45..2d6da78fddb6 100644 --- a/drivers/pci/hotplug/sgi_hotplug.c +++ b/drivers/pci/hotplug/sgi_hotplug.c | |||
@@ -679,7 +679,7 @@ alloc_err: | |||
679 | return rc; | 679 | return rc; |
680 | } | 680 | } |
681 | 681 | ||
682 | static int sn_pci_hotplug_init(void) | 682 | static int __init sn_pci_hotplug_init(void) |
683 | { | 683 | { |
684 | struct pci_bus *pci_bus = NULL; | 684 | struct pci_bus *pci_bus = NULL; |
685 | int rc; | 685 | int rc; |
@@ -716,7 +716,7 @@ static int sn_pci_hotplug_init(void) | |||
716 | return registered == 1 ? 0 : -ENODEV; | 716 | return registered == 1 ? 0 : -ENODEV; |
717 | } | 717 | } |
718 | 718 | ||
719 | static void sn_pci_hotplug_exit(void) | 719 | static void __exit sn_pci_hotplug_exit(void) |
720 | { | 720 | { |
721 | struct hotplug_slot *bss_hotplug_slot; | 721 | struct hotplug_slot *bss_hotplug_slot; |
722 | 722 | ||