summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powermac/pic.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2008-01-02 20:14:28 +0100
committerPaul Mackerras <paulus@samba.org>2008-01-17 04:57:14 +0100
commitd518b71784c6fa4c8eafb334236883f763f8e296 (patch)
treea2d941c07b285d0d947fdc1739680d7772e6a722 /arch/powerpc/platforms/powermac/pic.c
parent[POWERPC] therm_pm72: Suppress some compile warnings (diff)
downloadlinux-d518b71784c6fa4c8eafb334236883f763f8e296.tar.xz
linux-d518b71784c6fa4c8eafb334236883f763f8e296.zip
[POWERPC] powermac: Use machine_*_initcall() hooks in platform code
Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/powermac/pic.c')
-rw-r--r--arch/powerpc/platforms/powermac/pic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/powermac/pic.c b/arch/powerpc/platforms/powermac/pic.c
index 999f5e160897..cd7216437416 100644
--- a/arch/powerpc/platforms/powermac/pic.c
+++ b/arch/powerpc/platforms/powermac/pic.c
@@ -690,6 +690,5 @@ static int __init init_pmacpic_sysfs(void)
sysdev_driver_register(&pmacpic_sysclass, &driver_pmacpic);
return 0;
}
-
-subsys_initcall(init_pmacpic_sysfs);
+machine_subsys_initcall(powermac, init_pmacpic_sysfs);