Browse Source

spi/dw_spi: Fix dw_spi_mmio to depend on HAVE_CLK

dw_spi_mmio is dependent on the clock framework. This marks it as such
in Kconfig.

Signed-off-by: Jean-Hugues Deschenes <jean-hugues.deschenes@octasic.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Jean-Hugues Deschenes 15 years ago
parent
commit
212b3c8b8a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/spi/Kconfig

+ 1 - 1
drivers/spi/Kconfig

@@ -336,7 +336,7 @@ config SPI_DW_PCI
 
 config SPI_DW_MMIO
 	tristate "Memory-mapped io interface driver for DW SPI core"
-	depends on SPI_DESIGNWARE
+	depends on SPI_DESIGNWARE && HAVE_CLK
 
 #
 # There are lots of SPI device types, with sensors and memory