summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/44x/iss4xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/44x/iss4xx.c')
-rw-r--r--arch/powerpc/platforms/44x/iss4xx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/44x/iss4xx.c b/arch/powerpc/platforms/44x/iss4xx.c
index c7c6758b3cfe..5f296dd6b1c0 100644
--- a/arch/powerpc/platforms/44x/iss4xx.c
+++ b/arch/powerpc/platforms/44x/iss4xx.c
@@ -149,9 +149,7 @@ static void __init iss4xx_setup_arch(void)
*/
static int __init iss4xx_probe(void)
{
- unsigned long root = of_get_flat_dt_root();
-
- if (!of_flat_dt_is_compatible(root, "ibm,iss-4xx"))
+ if (!of_machine_is_compatible("ibm,iss-4xx"))
return 0;
return 1;