2010-01-07 02:35:55

by Peter Huewe

[permalink] [raw]
Subject: [PATCH] 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

Signed-off-by: Peter Huewe <[email protected]>
---
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


2010-01-07 22:01:26

by Wim Van Sebroeck

[permalink] [raw]
Subject: Re: [PATCH] watchdog/ixp2000: Fix build failure caused by missing include

Hi Peter,

> 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
>
> Signed-off-by: Peter Huewe <[email protected]>

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

Kind regards,
Wim.