lkml.org 
[lkml]   [2017]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2] spi-nor: intel-spi: Fix Kconfig dependency to LPC_ICH
Date
The Intel SPI-NOR driver is dependent on LPC_ICH to get the platform
data. Select it in the Kconfig.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

---

Changes in v2:
- Enforce dependency on PCI

drivers/mtd/spi-nor/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig
index f26aaa6..abf453a 100644
--- a/drivers/mtd/spi-nor/Kconfig
+++ b/drivers/mtd/spi-nor/Kconfig
@@ -107,8 +107,9 @@ config SPI_INTEL_SPI_PCI

config SPI_INTEL_SPI_PLATFORM
tristate "Intel PCH/PCU SPI flash platform driver" if EXPERT
- depends on X86
+ depends on X86 && PCI
select SPI_INTEL_SPI
+ select LPC_ICH
help
This enables platform support for the Intel PCH/PCU SPI
controller in master mode. This controller is present in modern
--
2.7.4
\
 
 \ /
  Last update: 2017-10-24 08:56    [W:0.076 / U:25.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site