summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/kernel/cpu/shmobile/pm_runtime.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/sh/kernel/cpu/shmobile/pm_runtime.c b/arch/sh/kernel/cpu/shmobile/pm_runtime.c
index d5f5285a225..7c615b17e20 100644
--- a/arch/sh/kernel/cpu/shmobile/pm_runtime.c
+++ b/arch/sh/kernel/cpu/shmobile/pm_runtime.c
@@ -251,8 +251,8 @@ out:
return ret;
}
-static int __devinit platform_bus_notify(struct notifier_block *nb,
- unsigned long action, void *data)
+static int platform_bus_notify(struct notifier_block *nb,
+ unsigned long action, void *data)
{
struct device *dev = data;
struct platform_device *pdev = to_platform_device(dev);
@@ -300,5 +300,4 @@ static int __init sh_pm_runtime_init(void)
bus_register_notifier(&platform_bus_type, &platform_bus_notifier);
return 0;
}
-
core_initcall(sh_pm_runtime_init);