[PATCH 2/3] [POWERPC] fsl_soc: register mpc83xx_wdt for PPC_86xx

Anton Vorontsov avorontsov at ru.mvista.com
Tue May 13 04:52:10 EST 2008


Since mpc83xx_wdt driver is able to handle MPC86xx watchdogs now,
we want to regster the device appropriately.

Signed-off-by: Anton Vorontsov <avorontsov at ru.mvista.com>
---
 arch/powerpc/sysdev/fsl_soc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c
index a5ceeef..85861c9 100644
--- a/arch/powerpc/sysdev/fsl_soc.c
+++ b/arch/powerpc/sysdev/fsl_soc.c
@@ -545,7 +545,7 @@ err:
 arch_initcall(fsl_i2c_of_init);
 #endif
 
-#ifdef CONFIG_PPC_83xx
+#if defined(CONFIG_PPC_83xx) || defined(CONFIG_PPC_86xx)
 static int __init mpc83xx_wdt_init(void)
 {
 	struct resource r;
-- 
1.5.5.1




More information about the Linuxppc-dev mailing list