diff options
| author | Michal Simek <[email protected]> | 2023-07-04 14:04:04 +0200 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2023-07-21 09:00:38 +0200 |
| commit | ed4a0ccb6e7d7fa2e8b92f5c07590a361a6efd30 (patch) | |
| tree | ca39141c1ed4dc0e3f5201274fcf7b08629d11ae | |
| parent | 752e4b6c8efb5bd624f316f7a9686d9956d55dd7 (diff) | |
mtd: Add missing MTD dependency for cfi_mtd
cfi_mtd requires add_mtd_device() which is available only when MTD is
enabled that's why record this dependency.
Signed-off-by: Michal Simek <[email protected]>
Link: https://lore.kernel.org/r/76ae01ce2b2c988758b69e0f0cdcc21bf301c01e.1688472227.git.michal.simek@amd.com
| -rw-r--r-- | drivers/mtd/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index 5fa88dae5f3..c56840c8497 100644 --- a/drivers/mtd/Kconfig +++ b/drivers/mtd/Kconfig @@ -128,7 +128,7 @@ config FLASH_SPANSION_S29WS_N config FLASH_CFI_MTD bool "Enable CFI MTD driver" - depends on FLASH_CFI_DRIVER + depends on FLASH_CFI_DRIVER && MTD help This option enables the building of the cfi_mtd driver in the drivers directory. The driver exports CFI flash |
