tty: serial: samsung: rename to fix build warning
Subsystems (2)
PATCH 1/1 tty: serial: samsung: rename to fix build warning
The build of arm allmodconfig gives a warning:
warning: same module names found:
drivers/tty/serial/samsung.ko
drivers/mtd/nand/onenand/samsung.ko
Rename drivers/tty/serial/samsung.c to drivers/tty/serial/samsung_tty.c to fix the warning.
---
drivers/tty/serial/Makefile | 2 +-
drivers/tty/serial/{samsung.c => samsung_tty.c} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename drivers/tty/serial/{samsung.c => samsung_tty.c} (100%)drivers/tty/serial/Makefile +1 -1
@@ -30,7 +30,7 @@ obj-$(CONFIG_SERIAL_PXA_NON8250) += pxa.o obj-$(CONFIG_SERIAL_PNX8XXX) += pnx8xxx_uart.o obj-$(CONFIG_SERIAL_SA1100) += sa1100.o obj-$(CONFIG_SERIAL_BCM63XX) += bcm63xx_uart.o -obj-$(CONFIG_SERIAL_SAMSUNG) += samsung.o +obj-$(CONFIG_SERIAL_SAMSUNG) += samsung_tty.o obj-$(CONFIG_SERIAL_MAX3100) += max3100.o obj-$(CONFIG_SERIAL_MAX310X) += max310x.o obj-$(CONFIG_SERIAL_IP22_ZILOG) += ip22zilog.o
drivers/tty/serial/samsung_tty.c renamed from drivers/tty/serial/samsung.c +0 -0
Signature · 1 line
2.11.0
Greg Kroah-Hartman
maintainerQuoted 36 lines · Sudip Mukherjee
The build of arm allmodconfig gives a warning:
warning: same module names found:
drivers/tty/serial/samsung.ko
drivers/mtd/nand/onenand/samsung.koRename
drivers/tty/serial/samsung.ctodrivers/tty/serial/samsung_tty.cto fix the warning.Signed-off-by Sudip Mukherjee <[email protected]>--- drivers/tty/serial/Makefile | 2 +- drivers/tty/serial/{samsung.c => samsung_tty.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename drivers/tty/serial/{samsung.c => samsung_tty.c} (100%)drivers/tty/serial/Makefile +1
-1@@ -30,7 +30,7 @@ obj-$(CONFIG_SERIAL_PXA_NON8250) += pxa.o obj-$(CONFIG_SERIAL_PNX8XXX) += pnx8xxx_uart.o obj-$(CONFIG_SERIAL_SA1100) += sa1100.o obj-$(CONFIG_SERIAL_BCM63XX) += bcm63xx_uart.o -obj-$(CONFIG_SERIAL_SAMSUNG) += samsung.o +obj-$(CONFIG_SERIAL_SAMSUNG) += samsung_tty.o obj-$(CONFIG_SERIAL_MAX3100) += max3100.o obj-$(CONFIG_SERIAL_MAX310X) += max310x.o obj-$(CONFIG_SERIAL_IP22_ZILOG) += ip22zilog.odrivers/tty/serial/samsung_tty.c renamed from drivers/tty/serial/samsung.c +0
-0Signature · 1 line
2.11.0
What are you going to break if you rename this module?
What configs enable both of these other than allmodconfig? Why rename the tty driver and not the mtd driver? Why not both?
thanks,
greg k-h
Hi Greg,
Quoted 11 lines · Greg Kroah-Hartman
Quoted 9 lines · Sudip Mukherjee
The build of arm allmodconfig gives a warning:
warning: same module names found:
drivers/tty/serial/samsung.ko
drivers/mtd/nand/onenand/samsung.koRename
drivers/tty/serial/samsung.ctodrivers/tty/serial/samsung_tty.cto fix the warning.
<snip>
Quoted 3 lines
What are you going to break if you rename this module?
hopefully nothing.
Quoted 3 lines
What configs enable both of these other than allmodconfig? Why rename the tty driver and not the mtd driver? Why not both?
But, there is no other config defined which has both enabled. Though I can make one, but since it is not defined and no one else has reported this, I think its better if you discard this. ( I think you already have :) ) or if you want I can
send a v2 renaming both.
Signature · 2 lines
Regards Sudip
Greg Kroah-Hartman
maintainerQuoted 23 lines · Sudip Mukherjee
Hi Greg,
Quoted 11 lines · Greg Kroah-Hartman
Quoted 9 lines · Sudip Mukherjee
The build of arm allmodconfig gives a warning:
warning: same module names found:
drivers/tty/serial/samsung.ko
drivers/mtd/nand/onenand/samsung.koRename
drivers/tty/serial/samsung.ctodrivers/tty/serial/samsung_tty.cto fix the warning.<snip>
Quoted 3 lines
What are you going to break if you rename this module?
hopefully nothing.
Quoted 1 line
Quoted 8 lines
Quoted 2 lines
What configs enable both of these other than allmodconfig? Why rename the tty driver and not the mtd driver? Why not both?
But, there is no other config defined which has both enabled. Though I can make one, but since it is not defined and no one else has reported this, I think its better if you discard this. ( I think you already have :) ) or if you want I can
send a v2 renaming both.
Let's rename both and cause equal pain :)
thanks,
greg k-h