Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Peter Huewe and committed by
Jiri Kosina
db5ed9be ff2f5ff0

+2 -2
+2 -2
drivers/pci/hotplug/sgi_hotplug.c
··· 679 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 684 struct pci_bus *pci_bus = NULL; 685 685 int rc; ··· 716 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 721 struct hotplug_slot *bss_hotplug_slot; 722 722