Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mtd: onenand: omap2: add dependency on GPMC
[ Upstream commit c717b9b ] 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 <[email protected]> Fixes: 854fd92 ("memory: omap-gpmc: Allow building as a module") Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Roger Quadros <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected] Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information