]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
mtd: spi-nor: intel-spi: Explicitly mark the driver as dangerous in Kconfig
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 5 Feb 2018 11:33:00 +0000 (14:33 +0300)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Fri, 18 May 2018 10:53:15 +0000 (12:53 +0200)
The driver is not meant for normal users at all but instead such users
who really know what they are doing and are able to build their own
kernel to enable it. Mark both driver Kconfig entries as dangerous to
make sure the driver is not accidentally enabled without understanding
possible consequences in doing so.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/spi-nor/Kconfig

index 89da88e591215db1a9689c73c019468b24a2fb82..f480b227a6b8494000b1ab623b28f23acd0d099a 100644 (file)
@@ -90,7 +90,7 @@ config SPI_INTEL_SPI
        tristate
 
 config SPI_INTEL_SPI_PCI
-       tristate "Intel PCH/PCU SPI flash PCI driver"
+       tristate "Intel PCH/PCU SPI flash PCI driver (DANGEROUS)"
        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"
+       tristate "Intel PCH/PCU SPI flash platform driver (DANGEROUS)"
        depends on X86
        select SPI_INTEL_SPI
        help