diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2008-01-02 12:32:28 -0700 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2008-01-02 14:08:42 -0600 |
commit | bdddec454c205028c010c1c4e1e6163c054487c6 (patch) | |
tree | 16153ead34401cd54f0352b23558338f190ff610 /arch/powerpc/platforms/pasemi/idle.c | |
parent | f0d4577c4d19f439b8f05e2c540519343e6f71e1 (diff) | |
download | op-kernel-dev-bdddec454c205028c010c1c4e1e6163c054487c6.zip op-kernel-dev-bdddec454c205028c010c1c4e1e6163c054487c6.tar.gz |
[POWERPC] pasemi: Use machine_*_initcall() hooks in platform code
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/powerpc/platforms/pasemi/idle.c')
-rw-r--r-- | arch/powerpc/platforms/pasemi/idle.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/pasemi/idle.c b/arch/powerpc/platforms/pasemi/idle.c index d8e1fcc..43911d8 100644 --- a/arch/powerpc/platforms/pasemi/idle.c +++ b/arch/powerpc/platforms/pasemi/idle.c @@ -74,9 +74,6 @@ static int pasemi_system_reset_exception(struct pt_regs *regs) static int __init pasemi_idle_init(void) { - if (!machine_is(pasemi)) - return -ENODEV; - #ifndef CONFIG_PPC_PASEMI_CPUFREQ printk(KERN_WARNING "No cpufreq driver, powersavings modes disabled\n"); current_mode = 0; @@ -88,7 +85,7 @@ static int __init pasemi_idle_init(void) return 0; } -late_initcall(pasemi_idle_init); +machine_late_initcall(pasemi, pasemi_idle_init); static int __init idle_param(char *p) { |