summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/8xx/ep88xc.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/8xx/ep88xc.c')
-rw-r--r--arch/powerpc/platforms/8xx/ep88xc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/8xx/ep88xc.c b/arch/powerpc/platforms/8xx/ep88xc.c
index 2bedeb7d5f8f..cd0d90f1fb1c 100644
--- a/arch/powerpc/platforms/8xx/ep88xc.c
+++ b/arch/powerpc/platforms/8xx/ep88xc.c
@@ -143,8 +143,7 @@ static void __init ep88xc_setup_arch(void)
static int __init ep88xc_probe(void)
{
- unsigned long root = of_get_flat_dt_root();
- return of_flat_dt_is_compatible(root, "fsl,ep88xc");
+ return of_machine_is_compatible("fsl,ep88xc");
}
static const struct of_device_id of_bus_ids[] __initconst = {