summaryrefslogtreecommitdiff
path: root/drivers/hotplug/ibmphp_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hotplug/ibmphp_core.c')
-rw-r--r--drivers/hotplug/ibmphp_core.c4
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;