[PATCH] serial: sc16is7xx: remove redundant CONFIG_SERIAL_SC16IS7XX_CORE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Config symbol CONFIG_SERIAL_SC16IS7XX_CORE can be safely removed,
it is enough to have CONFIG_SERIAL_SC16IS7XX only.

Signed-off-by: Vladimir Zapolskiy <vz@xxxxxxxxx>
---
 drivers/tty/serial/Kconfig  | 5 -----
 drivers/tty/serial/Makefile | 2 +-
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index 687b1ea..1dd67a3 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -1180,9 +1180,6 @@ config SERIAL_SCCNXP_CONSOLE
 	help
 	  Support for console on SCCNXP serial ports.
 
-config SERIAL_SC16IS7XX_CORE
-        tristate
-
 config SERIAL_SC16IS7XX
         tristate "SC16IS7xx serial support"
         select SERIAL_CORE
@@ -1196,7 +1193,6 @@ config SERIAL_SC16IS7XX_I2C
         bool "SC16IS7xx for I2C interface"
         depends on SERIAL_SC16IS7XX
         depends on I2C
-        select SERIAL_SC16IS7XX_CORE if SERIAL_SC16IS7XX
         select REGMAP_I2C if I2C
         default y
         help
@@ -1209,7 +1205,6 @@ config SERIAL_SC16IS7XX_SPI
         bool "SC16IS7xx for spi interface"
         depends on SERIAL_SC16IS7XX
         depends on SPI_MASTER
-        select SERIAL_SC16IS7XX_CORE if SERIAL_SC16IS7XX
         select REGMAP_SPI if SPI_MASTER
         help
           Enable SC16IS7xx driver on SPI bus,
diff --git a/drivers/tty/serial/Makefile b/drivers/tty/serial/Makefile
index 5ab4111..6381805 100644
--- a/drivers/tty/serial/Makefile
+++ b/drivers/tty/serial/Makefile
@@ -53,7 +53,7 @@ obj-$(CONFIG_SERIAL_SB1250_DUART) += sb1250-duart.o
 obj-$(CONFIG_ETRAX_SERIAL) += crisv10.o
 obj-$(CONFIG_SERIAL_ETRAXFS) += etraxfs-uart.o
 obj-$(CONFIG_SERIAL_SCCNXP) += sccnxp.o
-obj-$(CONFIG_SERIAL_SC16IS7XX_CORE) += sc16is7xx.o
+obj-$(CONFIG_SERIAL_SC16IS7XX) += sc16is7xx.o
 obj-$(CONFIG_SERIAL_JSM) += jsm/
 obj-$(CONFIG_SERIAL_TXX9) += serial_txx9.o
 obj-$(CONFIG_SERIAL_VR41XX) += vr41xx_siu.o
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux