]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: nand: Kill the MTD_NAND_IDS Kconfig option
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 24 May 2016 21:07:46 +0000 (23:07 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 8 Mar 2017 22:21:18 +0000 (23:21 +0100)
commitf16bd7ca045729e1104a9353dfd792ea98931b80
tree7799acff4d35ef348e7e4d017bfc38e5858ece27
parent8cfb9ab68f90703d419870fce7ac21ac401399f2
mtd: nand: Kill the MTD_NAND_IDS Kconfig option

MTD_NAND_IDS is selected by MTD_NAND, which makes it useless. Remove
the Kconfig option and link nand_ids.o into the nand.o object file.
Doing that also prevents creating an extra nand_ids.ko module when
MTD_NAND is activated as a module.

Since nand_ids.c is no longer compiled as a standalone module and the
nand_manuf_ids/nand_flash_ids symbols are only used in nand_base.c, we
can get rid of the MODULE_XXX() and EXPORT_SYMBOL() definitions.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
arch/cris/arch-v32/drivers/Kconfig
drivers/mtd/nand/Kconfig
drivers/mtd/nand/Makefile
drivers/mtd/nand/nand_ids.c