summaryrefslogtreecommitdiff
path: root/drivers/video/omap/rfbi.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@nokia.com>2009-12-16 11:18:07 (GMT)
committerTomi Valkeinen <tomi.valkeinen@nokia.com>2010-01-11 11:33:09 (GMT)
commitf778a12dd33200513596a0d4d3ba4d5f09e79c09 (patch)
tree91fbb2cb9e9031fc41e4e649a1a72cec154cb432 /drivers/video/omap/rfbi.c
parentfc248a497d83f5aba9d46d7ff114c070fb2a2fa2 (diff)
downloadlinux-fsl-qoriq-f778a12dd33200513596a0d4d3ba4d5f09e79c09.tar.xz
OMAP: OMAPFB: fix clk_get for RFBI
omapfb platform device was still used to get clocks inside rfbi.c Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com> Tested-by: Sergey Lapin <slapin@ossfans.org>
Diffstat (limited to 'drivers/video/omap/rfbi.c')
-rw-r--r--drivers/video/omap/rfbi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/omap/rfbi.c b/drivers/video/omap/rfbi.c
index fed7b1b..1162603 100644
--- a/drivers/video/omap/rfbi.c
+++ b/drivers/video/omap/rfbi.c
@@ -83,13 +83,13 @@ static inline u32 rfbi_read_reg(int idx)
static int rfbi_get_clocks(void)
{
- rfbi.dss_ick = clk_get(rfbi.fbdev->dev, "ick");
+ rfbi.dss_ick = clk_get(&dispc.fbdev->dssdev->dev, "ick");
if (IS_ERR(rfbi.dss_ick)) {
dev_err(rfbi.fbdev->dev, "can't get ick\n");
return PTR_ERR(rfbi.dss_ick);
}
- rfbi.dss1_fck = clk_get(rfbi.fbdev->dev, "dss1_fck");
+ rfbi.dss1_fck = clk_get(&dispc.fbdev->dssdev->dev, "dss1_fck");
if (IS_ERR(rfbi.dss1_fck)) {
dev_err(rfbi.fbdev->dev, "can't get dss1_fck\n");
clk_put(rfbi.dss_ick);