aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2015-03-12 11:23:59 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-26 18:00:36 -0400
commit49708c9e6cbb3c534677f429053bd18c2e948069 (patch)
tree877f2cd16b9ed64e3133ede680bd0988f5e2afd5 /drivers/tty
parenta666b54adabc7dd40d754671a26996e6c985ae1b (diff)
tty: cpm_uart: replace CONFIG_8xx by CONFIG_CPM1
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>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/Kconfig2
-rw-r--r--drivers/tty/serial/cpm_uart/Makefile2
-rw-r--r--drivers/tty/serial/cpm_uart/cpm_uart.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index 79ae58682adc..f8120c1bde14 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -868,7 +868,7 @@ config SERIAL_PMACZILOG_CONSOLE
868 868
869config SERIAL_CPM 869config SERIAL_CPM
870 tristate "CPM SCC/SMC serial port support" 870 tristate "CPM SCC/SMC serial port support"
871 depends on CPM2 || 8xx 871 depends on CPM2 || CPM1
872 select SERIAL_CORE 872 select SERIAL_CORE
873 help 873 help
874 This driver supports the SCC and SMC serial ports on Motorola 874 This driver supports the SCC and SMC serial ports on Motorola
diff --git a/drivers/tty/serial/cpm_uart/Makefile b/drivers/tty/serial/cpm_uart/Makefile
index e072724ea754..896a5d57881c 100644
--- a/drivers/tty/serial/cpm_uart/Makefile
+++ b/drivers/tty/serial/cpm_uart/Makefile
@@ -6,6 +6,6 @@ obj-$(CONFIG_SERIAL_CPM) += cpm_uart.o
6 6
7# Select the correct platform objects. 7# Select the correct platform objects.
8cpm_uart-objs-$(CONFIG_CPM2) += cpm_uart_cpm2.o 8cpm_uart-objs-$(CONFIG_CPM2) += cpm_uart_cpm2.o
9cpm_uart-objs-$(CONFIG_8xx) += cpm_uart_cpm1.o 9cpm_uart-objs-$(CONFIG_CPM1) += cpm_uart_cpm1.o
10 10
11cpm_uart-objs := cpm_uart_core.o $(cpm_uart-objs-y) 11cpm_uart-objs := cpm_uart_core.o $(cpm_uart-objs-y)
diff --git a/drivers/tty/serial/cpm_uart/cpm_uart.h b/drivers/tty/serial/cpm_uart/cpm_uart.h
index cf34d26ff6cd..0ad027b95873 100644
--- a/drivers/tty/serial/cpm_uart/cpm_uart.h
+++ b/drivers/tty/serial/cpm_uart/cpm_uart.h
@@ -19,7 +19,7 @@
19 19
20#if defined(CONFIG_CPM2) 20#if defined(CONFIG_CPM2)
21#include "cpm_uart_cpm2.h" 21#include "cpm_uart_cpm2.h"
22#elif defined(CONFIG_8xx) 22#elif defined(CONFIG_CPM1)
23#include "cpm_uart_cpm1.h" 23#include "cpm_uart_cpm1.h"
24#endif 24#endif
25 25