Skip to content

Commit

Permalink
serial: Unneeded ARCH dependencies are removed
Browse files Browse the repository at this point in the history
This patch performs a small cleanup tty/Serial/Kconfig file by removing
unneeded ARCH dependencies. This dependencies already included in
board/type symbols.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Alexander Shiyan authored and Greg Kroah-Hartman committed Nov 16, 2012
1 parent 50827fb commit 18e0749
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions drivers/tty/serial/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ config SERIAL_SB1250_DUART_CONSOLE

config SERIAL_ATMEL
bool "AT91 / AT32 on-chip serial port support"
depends on (ARM && ARCH_AT91) || AVR32
depends on ARCH_AT91 || AVR32
select SERIAL_CORE
help
This enables the driver for the on-chip UARTs of the Atmel
Expand Down Expand Up @@ -198,7 +198,7 @@ config SERIAL_CLPS711X_CONSOLE

config SERIAL_SAMSUNG
tristate "Samsung SoC serial support"
depends on ARM && PLAT_SAMSUNG
depends on PLAT_SAMSUNG
select SERIAL_CORE
help
Support for the on-chip UARTs on the Samsung S3C24XX series CPUs,
Expand All @@ -208,14 +208,14 @@ config SERIAL_SAMSUNG

config SERIAL_SAMSUNG_UARTS_4
bool
depends on ARM && PLAT_SAMSUNG
depends on PLAT_SAMSUNG
default y if !(CPU_S3C2410 || SERIAL_S3C2412 || CPU_S3C2440 || CPU_S3C2442)
help
Internal node for the common case of 4 Samsung compatible UARTs

config SERIAL_SAMSUNG_UARTS
int
depends on ARM && PLAT_SAMSUNG
depends on PLAT_SAMSUNG
default 6 if ARCH_S5P6450
default 4 if SERIAL_SAMSUNG_UARTS_4 || CPU_S3C2416
default 3
Expand Down Expand Up @@ -249,7 +249,7 @@ config SERIAL_SAMSUNG_CONSOLE

config SERIAL_SIRFSOC
tristate "SiRF SoC Platform Serial port support"
depends on ARM && ARCH_PRIMA2
depends on ARCH_PRIMA2
select SERIAL_CORE
help
Support for the on-chip UART on the CSR SiRFprimaII series,
Expand Down Expand Up @@ -347,7 +347,7 @@ config SERIAL_ZS_CONSOLE

config SERIAL_21285
tristate "DC21285 serial port support"
depends on ARM && FOOTBRIDGE
depends on FOOTBRIDGE
select SERIAL_CORE
help
If you have a machine based on a 21285 (Footbridge) StrongARM(R)/
Expand All @@ -371,7 +371,7 @@ config SERIAL_21285_CONSOLE

config SERIAL_MPSC
bool "Marvell MPSC serial port support"
depends on PPC32 && MV64X60
depends on MV64X60
select SERIAL_CORE
help
Say Y here if you want to use the Marvell MPSC serial controller.
Expand Down Expand Up @@ -408,7 +408,7 @@ config SERIAL_PXA_CONSOLE

config SERIAL_SA1100
bool "SA1100 serial port support"
depends on ARM && ARCH_SA1100
depends on ARCH_SA1100
select SERIAL_CORE
help
If you have a machine based on a SA1100/SA1110 StrongARM(R) CPU you
Expand Down Expand Up @@ -716,7 +716,7 @@ config SERIAL_SH_SCI_DMA

config SERIAL_PNX8XXX
bool "Enable PNX8XXX SoCs' UART Support"
depends on MIPS && (SOC_PNX8550 || SOC_PNX833X)
depends on SOC_PNX8550 || SOC_PNX833X
select SERIAL_CORE
help
If you have a MIPS-based Philips SoC such as PNX8550 or PNX8330
Expand Down Expand Up @@ -1013,7 +1013,7 @@ config SERIAL_SGI_IOC3

config SERIAL_MSM
bool "MSM on-chip serial port support"
depends on ARM && ARCH_MSM
depends on ARCH_MSM
select SERIAL_CORE

config SERIAL_MSM_CONSOLE
Expand All @@ -1035,7 +1035,7 @@ config SERIAL_MSM_HS

config SERIAL_VT8500
bool "VIA VT8500 on-chip serial port support"
depends on ARM && ARCH_VT8500
depends on ARCH_VT8500
select SERIAL_CORE

config SERIAL_VT8500_CONSOLE
Expand All @@ -1045,7 +1045,7 @@ config SERIAL_VT8500_CONSOLE

config SERIAL_NETX
tristate "NetX serial port support"
depends on ARM && ARCH_NETX
depends on ARCH_NETX
select SERIAL_CORE
help
If you have a machine based on a Hilscher NetX SoC you
Expand Down

0 comments on commit 18e0749

Please sign in to comment.