From patchwork Thu Feb 28 17:47:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 2199311 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 88440DF2A2 for ; Thu, 28 Feb 2013 17:48:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759761Ab3B1Rrq (ORCPT ); Thu, 28 Feb 2013 12:47:46 -0500 Received: from mail-ee0-f51.google.com ([74.125.83.51]:46830 "EHLO mail-ee0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759507Ab3B1Rrp (ORCPT ); Thu, 28 Feb 2013 12:47:45 -0500 Received: by mail-ee0-f51.google.com with SMTP id d17so1686393eek.38 for ; Thu, 28 Feb 2013 09:47:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=aRdvUTCqjoUiO+chdkx1jr3KW2FwSA7xcSSdFgJQ0mA=; b=ZxhHc1G/LNBXCtMsnCMYtZjF+0kRmBnrrGdC0qKBwyWXjugFNkPnTvzzmgQFpYZi2J PtIje6947ffm8TszfMBYO8kGrF/Ze/4f8NWzsHfkYVTHHAKyq44OWG+L0cdNUI5U0Cu4 bfFO4BDMjPKjJKvV/Tt7OUEJaPtywcLMNYOPImwJdvt41WYYVx9RgX7UNHru9KZYW2B8 Cb7Is9C5eRJoDYwMeLQjlL3z43qQ7EIVboaRXW82ZgsM2DYoWPbDBZ5ooScyEaK/NtyE FUs0laHNva1Rw1rdA20MOCkz/1Lj/hXM5gI9+YrIc6W69HfpKFIh6P+8FFVTM1dfJw6d ePUg== X-Received: by 10.15.101.204 with SMTP id bp52mr18661355eeb.31.1362073664236; Thu, 28 Feb 2013 09:47:44 -0800 (PST) Received: from Pali-EliteBook.kolej.mff.cuni.cz (pali.kolej.mff.cuni.cz. [78.128.193.202]) by mx.google.com with ESMTPS id u44sm13000343eel.7.2013.02.28.09.47.42 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Feb 2013 09:47:43 -0800 (PST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Timo Kokkonen , Tony Lindgren , Joni Lapilainen Subject: [PATCH] rc: ir-rx51: Fix compilation Date: Thu, 28 Feb 2013 18:47:15 +0100 Message-Id: <1362073635-8167-1-git-send-email-pali.rohar@gmail.com> X-Mailer: git-send-email 1.7.10.4 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Joni Lapilainen Signed-off-by: Joni Lapilainen --- 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 #include -#include + +#include "../../../arch/arm/mach-omap2/clock.h" #include #include @@ -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;