[PATCH] watchdog/ixp2000: Fix build failure caused by missing include

From: Peter Huewe
Date: Wed Jan 06 2010 - 21:35:59 EST


From: Peter Huewe <peterhuewe@xxxxxx>
Date: Thu, 7 Jan 2010 03:24:28 +0100

This patch fixes a build failure[1] caused by the missing include of
timer.h and thus fixes the build failure.

Notably the build failure existed since October 2009! [2]

References:
[1] http://kisskb.ellerman.id.au/kisskb/buildresult/1983339/
[2] http://kisskb.ellerman.id.au/kisskb/buildresult/1351737/

Patch against Linus' tree

Signed-off-by: Peter Huewe <peterhuewe@xxxxxx>
---
drivers/watchdog/ixp2000_wdt.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/watchdog/ixp2000_wdt.c b/drivers/watchdog/ixp2000_wdt.c
index 4f4b35a..3c79dc5 100644
--- a/drivers/watchdog/ixp2000_wdt.c
+++ b/drivers/watchdog/ixp2000_wdt.c
@@ -19,6 +19,7 @@
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
+#include <linux/timer.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/miscdevice.h>
--
1.6.4.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/