Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db5ed9be authored by Peter Huewe's avatar Peter Huewe Committed by Jiri Kosina
Browse files

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: default avatarPeter Huewe <peterhuewe@gmx.de>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent ff2f5ff0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -679,7 +679,7 @@ static int sn_hotplug_slot_register(struct pci_bus *pci_bus)
	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;