summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/clps711x-fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/clps711x-fb.c')
-rw-r--r--drivers/video/fbdev/clps711x-fb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/fbdev/clps711x-fb.c b/drivers/video/fbdev/clps711x-fb.c
index c5d15c6db287..771ce1f76951 100644
--- a/drivers/video/fbdev/clps711x-fb.c
+++ b/drivers/video/fbdev/clps711x-fb.c
@@ -268,8 +268,7 @@ static int clps711x_fb_probe(struct platform_device *pdev)
goto out_fb_release;
}
- cfb->syscon =
- syscon_regmap_lookup_by_compatible("cirrus,ep7209-syscon1");
+ cfb->syscon = syscon_regmap_lookup_by_phandle(np, "syscon");
if (IS_ERR(cfb->syscon)) {
ret = PTR_ERR(cfb->syscon);
goto out_fb_release;