Skip to contentSkip to conversation

watchdog/ixp2000: Fix build failure caused by missing include

PATCH In review Peter Huewe 2 participants 2 messages Jan 7, 2010 Watchdog device drivers

lore
Share & tools
lore
#0 lore raw

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

From: Peter Huewe <[email protected]>
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

---
 drivers/watchdog/ixp2000_wdt.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/watchdog/ixp2000_wdt.c +1 -0
index 4f4b35a..3c79dc5 100644
@@ -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>
Signature · 1 line
1.6.4.4
#1 lore raw

Hi Peter,

Quoted 8 lines

From: Peter Huewe <[email protected]>
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]

Quoted 7 lines

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

Patch against Linus' tree

Patch added to linux-2.6-watchog-next tree.

Kind regards,
Wim.