spi/imx: default to m on platforms that have such devices
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 9 Sep 2010 09:12:12 +0000 (11:12 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Fri, 1 Oct 2010 07:32:10 +0000 (09:32 +0200)
Acked-by: Jason Wang <jason77.wang@gmail.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
drivers/spi/Kconfig

index 91c2f4f3af10ecfc33a6a101a19b0f1762c79aea..30aea6de4e378d4e9a27e8794a7d79463c812a68 100644 (file)
@@ -147,6 +147,7 @@ config SPI_IMX
        tristate "Freescale i.MX SPI controllers"
        depends on ARCH_MXC
        select SPI_BITBANG
+       default m if IMX_HAVE_PLATFORM_SPI_IMX
        help
          This enables using the Freescale i.MX SPI controllers in master
          mode.