summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorVitaly Bordug <vbordug@ru.mvista.com>2006-04-29 23:06:00 +0400
committerPaul Mackerras <paulus@samba.org>2006-05-03 23:06:44 +1000
commit6e1976961c9bd9a3dc368139fab1883961efc879 (patch)
tree5fd5795260072c15be659349462abad4fe8ef7e3 /arch
parent61f5657c50341198ff05e375e6f1fc0476556562 (diff)
downloadlinux-6e1976961c9bd9a3dc368139fab1883961efc879.tar.gz
linux-6e1976961c9bd9a3dc368139fab1883961efc879.tar.bz2
linux-6e1976961c9bd9a3dc368139fab1883961efc879.zip
[PATCH] ppc32 CPM_UART: fixes and improvements
A number of small issues are fixed, and added the header file, missed from the original series. With this, driver should be pretty stable as tested among both platform-device-driven and "old way" boards. Also added missing GPL statement , and updated year field on existing ones to reflect code update. Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/ppc/platforms/mpc866ads_setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/platforms/mpc866ads_setup.c b/arch/ppc/platforms/mpc866ads_setup.c
index 6ce3b842defe..d919dab61347 100644
--- a/arch/ppc/platforms/mpc866ads_setup.c
+++ b/arch/ppc/platforms/mpc866ads_setup.c
@@ -378,7 +378,7 @@ int __init mpc866ads_init(void)
ppc_sys_device_setfunc(MPC8xx_CPM_SMC1, PPC_SYS_FUNC_UART);
#endif
-#ifdef CONFIG_SERIAL_CPM_SMCer
+#ifdef CONFIG_SERIAL_CPM_SMC
ppc_sys_device_enable(MPC8xx_CPM_SMC2);
ppc_sys_device_setfunc(MPC8xx_CPM_SMC2, PPC_SYS_FUNC_UART);
#endif