dw_spi_mmio depends on HAVE_CLK
diff mbox

Message ID 20100122124515.2619.14103.stgit@station520.octasic.com
State Accepted
Headers show

Commit Message

Jean-Hugues Deschenes Jan. 22, 2010, 12:45 p.m. UTC
None

Patch
diff mbox

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 505f1c2..c1ac092 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -319,7 +319,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