From 7fc47df1083591e01a3bdb4cd1f95ca1d99d6265 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 6 Jun 2002 23:32:51 -0700 Subject: IBM PCI Hotplug driver: added __init and __exit to functions that needed it. Thanks to Andrey Panin for pointing these out to me. --- drivers/hotplug/ibmphp_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/hotplug/ibmphp_core.c') 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; -- cgit v1.2.3