spi/dw_spi: Fix dw_spi_mmio to depend on HAVE_CLK
authorJean-Hugues Deschenes <jean-hugues.deschenes@octasic.com>
Fri, 22 Jan 2010 17:08:31 +0000 (10:08 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 22 Jan 2010 17:08:31 +0000 (10:08 -0700)
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>
drivers/spi/Kconfig

index 1d1e396..0fee95c 100644 (file)
@@ -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