From e30c9e89390a1e19688356c1e6b41800ce459d2a Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Sun, 17 Nov 2013 12:29:06 +0000 Subject: [media] ir-rx51: switch to common clock framework This updates the Nokia N900 IR driver to use the common clock framework instead of omap platform code. Signed-off-by: Sebastian Reichel --- drivers/media/rc/ir-rx51.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/rc/ir-rx51.c b/drivers/media/rc/ir-rx51.c index b1e19a26208d..13958220aa73 100644 --- a/drivers/media/rc/ir-rx51.c +++ b/drivers/media/rc/ir-rx51.c @@ -25,9 +25,9 @@ #include #include #include +#include #include -#include #include #include @@ -208,7 +208,7 @@ static int lirc_rx51_init_port(struct lirc_rx51 *lirc_rx51) } clk_fclk = omap_dm_timer_get_fclk(lirc_rx51->pwm_timer); - lirc_rx51->fclk_khz = clk_fclk->rate / 1000; + lirc_rx51->fclk_khz = clk_get_rate(clk_fclk) / 1000; return 0; -- cgit v1.2.3