Skip to content

Commit

Permalink
trivial: pci hotplug: adding __init/__exit macros to sgi_hotplug
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Huewe authored and Jiri Kosina committed Jun 12, 2009
1 parent ff2f5ff commit db5ed9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/pci/hotplug/sgi_hotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit db5ed9b

Please sign in to comment.