tty: cpm_uart: replace CONFIG_8xx by CONFIG_CPM1
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 12 Mar 2015 15:23:59 +0000 (16:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 22:00:36 +0000 (23:00 +0100)
Two config options exist to define powerpc MPC8xx:
* CONFIG_PPC_8xx
* CONFIG_8xx
In addition, CONFIG_PPC_8xx also defines CONFIG_CPM1 as
communication co-processor

arch/powerpc/platforms/Kconfig.cputype has contained the following
comment about CONFIG_8xx item for some years:
"# this is temp to handle compat with arch=ppc"

It looks like not many places still have that old CONFIG_8xx used,
so it is likely to be a good time to get rid of it completely ?

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig
drivers/tty/serial/cpm_uart/Makefile
drivers/tty/serial/cpm_uart/cpm_uart.h

index 79ae58682adcc58b1f0546f8b7a541cbc2c55210..f8120c1bde14760f306e425d4d0de2d23f26d0e2 100644 (file)
@@ -868,7 +868,7 @@ config SERIAL_PMACZILOG_CONSOLE
 
 config SERIAL_CPM
        tristate "CPM SCC/SMC serial port support"
-       depends on CPM2 || 8xx
+       depends on CPM2 || CPM1
        select SERIAL_CORE
        help
          This driver supports the SCC and SMC serial ports on Motorola 
index e072724ea754fe718cfc5d414f2973a7380243dd..896a5d57881c181fc025087f5488ec6a8746e23e 100644 (file)
@@ -6,6 +6,6 @@ obj-$(CONFIG_SERIAL_CPM) += cpm_uart.o
 
 # Select the correct platform objects.
 cpm_uart-objs-$(CONFIG_CPM2)   += cpm_uart_cpm2.o
-cpm_uart-objs-$(CONFIG_8xx)    += cpm_uart_cpm1.o
+cpm_uart-objs-$(CONFIG_CPM1)   += cpm_uart_cpm1.o
 
 cpm_uart-objs  := cpm_uart_core.o $(cpm_uart-objs-y)
index cf34d26ff6cdd642849fe61ae0f60af71ed04f94..0ad027b958732cbc1234290cf99fe49e1bb34896 100644 (file)
@@ -19,7 +19,7 @@
 
 #if defined(CONFIG_CPM2)
 #include "cpm_uart_cpm2.h"
-#elif defined(CONFIG_8xx)
+#elif defined(CONFIG_CPM1)
 #include "cpm_uart_cpm1.h"
 #endif