[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1249810600-21946-2-git-send-email-u.kleine-koenig@pengutronix.de>
Date: Sun, 9 Aug 2009 11:36:39 +0200
From: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: LKML <linux-kernel@...r.kernel.org>,
rt-users <linux-rt-users@...r.kernel.org>,
Wim Van Sebroeck <wim@...ana.be>,
Kevin Hilman <khilman@...prootsystems.com>,
linux-arm-kernel@...ts.arm.linux.org.uk
Subject: [PATCH RT 8/6] [ARM, WATCHDOG] davinci: include mach/timex.h in davinci_wdt.c
This fixes a a build failure for 2.6.31-rc4-rt1 (ARCH=arm,
davinci_all_defconfig):
drivers/watchdog/davinci_wdt.c: In function 'wdt_enable':
drivers/watchdog/davinci_wdt.c:102: error: 'CLOCK_TICK_RATE' undeclared (first use in this function)
drivers/watchdog/davinci_wdt.c:102: error: (Each undeclared identifier is reported only once
drivers/watchdog/davinci_wdt.c:102: error: for each function it appears in.)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Cc: Wim Van Sebroeck <wim@...ana.be>
Cc: Kevin Hilman <khilman@...prootsystems.com>
Cc: linux-kernel@...r.kernel.org
Cc: linux-arm-kernel@...ts.arm.linux.org.uk
---
drivers/watchdog/davinci_wdt.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/watchdog/davinci_wdt.c b/drivers/watchdog/davinci_wdt.c
index 83e22e7..4a136d7 100644
--- a/drivers/watchdog/davinci_wdt.c
+++ b/drivers/watchdog/davinci_wdt.c
@@ -26,6 +26,8 @@
#include <linux/io.h>
#include <linux/device.h>
+#include <mach/timex.h>
+
#define MODULE_NAME "DAVINCI-WDT: "
#define DEFAULT_HEARTBEAT 60
--
1.6.3.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists