diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-01-18 12:52:38 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-01-24 11:41:16 +0000 |
commit | 953a7e8476bbd7367cebdb868c326ba42968bc13 (patch) | |
tree | e70937ed8593e89e1dbc0a9b8cc2ebe13e5419fe /drivers/video/omap/lcdc.c | |
parent | 1639058ed1dd0b856a5c34064a990c7827b0e32b (diff) | |
download | op-kernel-dev-953a7e8476bbd7367cebdb868c326ba42968bc13.zip op-kernel-dev-953a7e8476bbd7367cebdb868c326ba42968bc13.tar.gz |
[ARM] omap: ensure OMAP drivers pass a struct device to clk_get()
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/video/omap/lcdc.c')
-rw-r--r-- | drivers/video/omap/lcdc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/omap/lcdc.c b/drivers/video/omap/lcdc.c index 6e2ea75..ab39492 100644 --- a/drivers/video/omap/lcdc.c +++ b/drivers/video/omap/lcdc.c @@ -800,14 +800,14 @@ static int omap_lcdc_init(struct omapfb_device *fbdev, int ext_mode, /* FIXME: * According to errata some platforms have a clock rate limitiation */ - lcdc.lcd_ck = clk_get(NULL, "lcd_ck"); + lcdc.lcd_ck = clk_get(fbdev->dev, "lcd_ck"); if (IS_ERR(lcdc.lcd_ck)) { dev_err(fbdev->dev, "unable to access LCD clock\n"); r = PTR_ERR(lcdc.lcd_ck); goto fail0; } - tc_ck = clk_get(NULL, "tc_ck"); + tc_ck = clk_get(fbdev->dev, "tc_ck"); if (IS_ERR(tc_ck)) { dev_err(fbdev->dev, "unable to access TC clock\n"); r = PTR_ERR(tc_ck); |