diff options
| author | Greg Kroah-Hartman <greg@kroah.com> | 2002-06-06 23:32:51 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2002-06-06 23:32:51 -0700 |
| commit | 7fc47df1083591e01a3bdb4cd1f95ca1d99d6265 (patch) | |
| tree | 70956c468b1f0c824ecdfb77c6538cebc851b0e2 /drivers/hotplug/ibmphp_core.c | |
| parent | bb69c3ecefe85ae843438e16a4e6f016dfaa22b7 (diff) | |
IBM PCI Hotplug driver: added __init and __exit to functions that needed it.
Thanks to Andrey Panin <pazke@orbita1.ru> for pointing these out to me.
Diffstat (limited to 'drivers/hotplug/ibmphp_core.c')
| -rw-r--r-- | drivers/hotplug/ibmphp_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hotplug/ibmphp_core.c b/drivers/hotplug/ibmphp_core.c index a377aef55f30..05e092126a3e 100644 --- a/drivers/hotplug/ibmphp_core.c +++ b/drivers/hotplug/ibmphp_core.c @@ -106,7 +106,7 @@ static inline int slot_update (struct slot **sl) return rc; } -static int get_max_slots (void) +static int __init get_max_slots (void) { struct list_head * tmp; int slot_count = 0; @@ -528,7 +528,7 @@ static int get_card_bus_names (struct hotplug_slot *hotplug_slot, char * value) * function. It will also power off empty slots that are powered on since BIOS * leaves those on, albeit disconnected ******************************************************************************/ -static int init_ops (void) +static int __init init_ops (void) { struct slot *slot_cur; int retval; |
