Skip to content

Commit db5ed9b

Browse files
PeterHueweJiri Kosina
authored andcommitted
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>
1 parent ff2f5ff commit db5ed9b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/pci/hotplug/sgi_hotplug.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ static int sn_hotplug_slot_register(struct pci_bus *pci_bus)
679679
return rc;
680680
}
681681

682-
static int sn_pci_hotplug_init(void)
682+
static int __init sn_pci_hotplug_init(void)
683683
{
684684
struct pci_bus *pci_bus = NULL;
685685
int rc;
@@ -716,7 +716,7 @@ static int sn_pci_hotplug_init(void)
716716
return registered == 1 ? 0 : -ENODEV;
717717
}
718718

719-
static void sn_pci_hotplug_exit(void)
719+
static void __exit sn_pci_hotplug_exit(void)
720720
{
721721
struct hotplug_slot *bss_hotplug_slot;
722722

0 commit comments

Comments
 (0)