[PATCH] watchdog,m68knommu: allow M548x watchdog compilation onlyfor M548x

From: Philippe De Muyter
Date: Mon Jan 10 2011 - 07:28:06 EST


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 <phdm@xxxxxxxxx>
---
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

--
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/