]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: omap2: Prevent invalid configuration and build error
authorRoger Quadros <rogerq@kernel.org>
Tue, 18 Jan 2022 12:35:25 +0000 (14:35 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 25 Jan 2022 09:32:07 +0000 (10:32 +0100)
commit01897e77ed54e27b48812db2f2c6530b4f9c8561
tree30e709ab3333b5379f24d1f2e1a2ba829797de43
parent28dfc5025ced1b497c68edc00af7b2bdc93020f0
mtd: rawnand: omap2: Prevent invalid configuration and build error

We need to select MEMORY as well otherwise OMAP_GPMC will not be built.
For simplicity let's select MEMORY and OMAP_GPMC unconditionally as
this driver depends on OMAP_GPMC driver and uses symbols from there.

Fixes: 01dfce8c1857 ("mtd: rawnand: omap2: Select GPMC device driver for ARCH_K3")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Roger Quadros <rogerq@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220118123525.8020-1-rogerq@kernel.org
drivers/mtd/nand/raw/Kconfig