diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2008-01-21 18:58:06 (GMT) |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-01-24 01:54:25 (GMT) |
commit | 6869e4ad4bd17e7699e58bed6464738e8677c392 (patch) | |
tree | 957ebd139e50f804853c41d564a6b707d29e46c2 /arch/powerpc/platforms/8xx/ep88xc.c | |
parent | 1dd4561e7d9b907afd10709f9ff092861e8ab095 (diff) | |
download | linux-fsl-qoriq-6869e4ad4bd17e7699e58bed6464738e8677c392.tar.xz |
[POWERPC] 8xx: Use machine_*_initcall() hooks in platform code
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/8xx/ep88xc.c')
-rw-r--r-- | arch/powerpc/platforms/8xx/ep88xc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/8xx/ep88xc.c b/arch/powerpc/platforms/8xx/ep88xc.c index c518b6c..88afa35 100644 --- a/arch/powerpc/platforms/8xx/ep88xc.c +++ b/arch/powerpc/platforms/8xx/ep88xc.c @@ -155,12 +155,11 @@ static struct of_device_id __initdata of_bus_ids[] = { static int __init declare_of_platform_devices(void) { /* Publish the QE devices */ - if (machine_is(ep88xc)) - of_platform_bus_probe(NULL, of_bus_ids, NULL); + of_platform_bus_probe(NULL, of_bus_ids, NULL); return 0; } -device_initcall(declare_of_platform_devices); +machine_device_initcall(ep88xc, declare_of_platform_devices); define_machine(ep88xc) { .name = "Embedded Planet EP88xC", |