linux-stable/drivers/mtd/nand
Krzysztof Kozlowski a2282bd27f mtd: onenand: omap2: add dependency on GPMC
[ Upstream commit c717b9b7d6 ]

OMAP2 OneNAND driver uses gpmc_omap_onenand_set_timings() provided by
OMAP_GPMC driver, so the latter cannot be module if OneNAND driver is
built-in:

  /usr/bin/arm-linux-gnueabi-ld: drivers/mtd/nand/onenand/onenand_omap2.o: in function `omap2_onenand_probe':
  onenand_omap2.c:(.text+0x520): undefined reference to `gpmc_omap_onenand_set_timings'

The OMAP_GPMC is also a runtime dependency.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 854fd9209b ("memory: omap-gpmc: Allow building as a module")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20221107091520.127053-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-11-26 09:27:28 +01:00
..
onenand mtd: onenand: omap2: add dependency on GPMC 2022-11-26 09:27:28 +01:00
raw mtd: rawnand: qcom: handle ret from parse with codeword_fixup 2022-11-26 09:27:13 +01:00
spi mtd: spinand: Add support for ATO25D1GA 2022-06-06 15:05:33 +02:00
Kconfig mtd: nand: MTD_NAND_ECC_MEDIATEK should depend on ARCH_MEDIATEK 2022-05-12 16:43:04 +02:00
Makefile mtd: nand: make mtk_ecc.c a separated module 2022-04-27 18:12:35 +02:00
bbt.c mtd: nand: bbt: Fix corner case in bad block table handling 2021-05-10 18:20:54 +02:00
core.c Topic branch bringing-in changes related to the support of ECC engines 2022-02-18 15:11:12 +01:00
ecc-mtk.c MTD core changes: 2022-05-24 14:31:29 -07:00
ecc-mxic.c mtd: nand: mxic-ecc: make two read-only arrays static const 2022-03-14 17:01:58 +01:00
ecc-sw-bch.c mtd: nand: ecc-bch: Use the public nsteps field 2021-03-11 09:37:28 +01:00
ecc-sw-hamming.c mtd: rawnand: Let callers use the bare Hamming helpers 2021-10-15 12:20:59 +02:00
ecc.c mtd: nand: ecc: Provide a helper to retrieve a pilelined engine device 2022-02-09 09:49:36 +01:00