diff options
Diffstat (limited to 'drivers/video/omap/rfbi.c')
-rw-r--r-- | drivers/video/omap/rfbi.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/video/omap/rfbi.c b/drivers/video/omap/rfbi.c index ee01e84e19c1..1162603c72e5 100644 --- a/drivers/video/omap/rfbi.c +++ b/drivers/video/omap/rfbi.c | |||
@@ -27,8 +27,7 @@ | |||
27 | #include <linux/clk.h> | 27 | #include <linux/clk.h> |
28 | #include <linux/io.h> | 28 | #include <linux/io.h> |
29 | 29 | ||
30 | #include <mach/omapfb.h> | 30 | #include "omapfb.h" |
31 | |||
32 | #include "dispc.h" | 31 | #include "dispc.h" |
33 | 32 | ||
34 | /* To work around an RFBI transfer rate limitation */ | 33 | /* To work around an RFBI transfer rate limitation */ |
@@ -84,13 +83,13 @@ static inline u32 rfbi_read_reg(int idx) | |||
84 | 83 | ||
85 | static int rfbi_get_clocks(void) | 84 | static int rfbi_get_clocks(void) |
86 | { | 85 | { |
87 | rfbi.dss_ick = clk_get(rfbi.fbdev->dev, "ick"); | 86 | rfbi.dss_ick = clk_get(&dispc.fbdev->dssdev->dev, "ick"); |
88 | if (IS_ERR(rfbi.dss_ick)) { | 87 | if (IS_ERR(rfbi.dss_ick)) { |
89 | dev_err(rfbi.fbdev->dev, "can't get ick\n"); | 88 | dev_err(rfbi.fbdev->dev, "can't get ick\n"); |
90 | return PTR_ERR(rfbi.dss_ick); | 89 | return PTR_ERR(rfbi.dss_ick); |
91 | } | 90 | } |
92 | 91 | ||
93 | rfbi.dss1_fck = clk_get(rfbi.fbdev->dev, "dss1_fck"); | 92 | rfbi.dss1_fck = clk_get(&dispc.fbdev->dssdev->dev, "dss1_fck"); |
94 | if (IS_ERR(rfbi.dss1_fck)) { | 93 | if (IS_ERR(rfbi.dss1_fck)) { |
95 | dev_err(rfbi.fbdev->dev, "can't get dss1_fck\n"); | 94 | dev_err(rfbi.fbdev->dev, "can't get dss1_fck\n"); |
96 | clk_put(rfbi.dss_ick); | 95 | clk_put(rfbi.dss_ick); |