Subject: [PATCH] watchdog,m68knommu: allow M548x watchdog compilation only for M548x

From: Philippe De Muyter <[email-masked]>
Date: Mon, 10 Jan 2011 13:27:35 +0100

Hi Wim and Stephen,

On Mon, Jan 10, 2011 at 08:27:50AM +0100, Wim Van Sebroeck wrote:
> Hi Stephen,
> 
> > After merging the watchdog tree, today's linux-next build (x86_64
> > allmodconfig) failed like this:
> 
> This driver is for the m68K architecture. I apparently missed checking
> the dependancy in Kconfig. I'll fix it today.

Here is my attempt :

allow M548x watchdog compilation only for M548x

Signed-off-by: Philippe De Muyter <[email-masked]>
---
 drivers/watchdog/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index b742f8b..d54bea0 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -831,7 +831,7 @@ config SBC_EPX_C3_WATCHDOG
 
 config M548x_WATCHDOG 
  	tristate "MCF548x watchdog support" 
- 	depends on WATCHDOG 
+ 	depends on M548x
  	help 
  	  To compile this driver as a module, choose M here: the 
  	  module will be called m548x_wdt.
-- 
1.7.1