memory: pl172: fix modular build
[firefly-linux-kernel-4.4.55.git] / drivers / memory / pl172.c
index 3a8e57ee96f0bc7cafce4e3e5c01f10b670052a8..b2ef6072fbf41193d636ff88415ee033e42021aa 100644 (file)
@@ -255,8 +255,7 @@ static int pl172_probe(struct amba_device *adev, const struct amba_id *id)
                if (ret)
                        continue;
 
-               of_platform_populate(child_np, of_default_bus_match_table,
-                                    NULL, dev);
+               of_platform_populate(child_np, NULL, NULL, dev);
        }
 
        return 0;