From: "Pali Rohár" <pali.rohar@gmail.com>
To: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
Timo Kokkonen <timo.t.kokkonen@iki.fi>,
Tony Lindgren <tony@atomide.com>,
Joni Lapilainen <joni.lapilainen@gmail.com>
Subject: [PATCH] rc: ir-rx51: Fix compilation
Date: Thu, 28 Feb 2013 18:47:15 +0100 [thread overview]
Message-ID: <1362073635-8167-1-git-send-email-pali.rohar@gmail.com> (raw)
From: Joni Lapilainen <joni.lapilainen@gmail.com>
Signed-off-by: Joni Lapilainen <joni.lapilainen@gmail.com>
---
drivers/media/rc/ir-rx51.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/media/rc/ir-rx51.c b/drivers/media/rc/ir-rx51.c
index 8ead492..3971192 100644
--- a/drivers/media/rc/ir-rx51.c
+++ b/drivers/media/rc/ir-rx51.c
@@ -27,7 +27,8 @@
#include <linux/wait.h>
#include <plat/dmtimer.h>
-#include <plat/clock.h>
+
+#include "../../../arch/arm/mach-omap2/clock.h"
#include <media/lirc.h>
#include <media/lirc_dev.h>
@@ -209,7 +210,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;
--
1.7.10.4
reply other threads:[~2013-02-28 17:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1362073635-8167-1-git-send-email-pali.rohar@gmail.com \
--to=pali.rohar@gmail.com \
--cc=joni.lapilainen@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@redhat.com \
--cc=timo.t.kokkonen@iki.fi \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome