spi-nor: intel-spi: Remove EXPERT dependency
authorBin Meng <bmeng.cn@gmail.com>
Tue, 24 Oct 2017 07:40:53 +0000 (00:40 -0700)
committerCyrille Pitchen <cyrille.pitchen@wedev4u.fr>
Tue, 24 Oct 2017 22:17:34 +0000 (00:17 +0200)
The idea to have the intel-spi driver dependent on EXPERT was exactly
because we did not want ordinary users playing with the device and
inadvertently overwrite their BIOSes (if it is not protected). This
seems to be superfluous hence remove it.

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
drivers/mtd/spi-nor/Kconfig

index f26aaa6..89da88e 100644 (file)
@@ -90,7 +90,7 @@ config SPI_INTEL_SPI
        tristate
 
 config SPI_INTEL_SPI_PCI
-       tristate "Intel PCH/PCU SPI flash PCI driver" if EXPERT
+       tristate "Intel PCH/PCU SPI flash PCI driver"
        depends on X86 && PCI
        select SPI_INTEL_SPI
        help
@@ -106,7 +106,7 @@ config SPI_INTEL_SPI_PCI
          will be called intel-spi-pci.
 
 config SPI_INTEL_SPI_PLATFORM
-       tristate "Intel PCH/PCU SPI flash platform driver" if EXPERT
+       tristate "Intel PCH/PCU SPI flash platform driver"
        depends on X86
        select SPI_INTEL_SPI
        help