Browse Source

spi: omap2-mcspi: Select SPI_SPLIT

The function sg_split will be used by spi-omap2-mcspi to handle a SoC
workaround in the SPI driver. Therefore, select SG_SPLIT so this function
is available to the driver.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Franklin S Cooper Jr 9 years ago
parent
commit
2b32e987c4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/spi/Kconfig

+ 1 - 0
drivers/spi/Kconfig

@@ -411,6 +411,7 @@ config SPI_OMAP24XX
 	tristate "McSPI driver for OMAP"
 	tristate "McSPI driver for OMAP"
 	depends on HAS_DMA
 	depends on HAS_DMA
 	depends on ARCH_OMAP2PLUS || COMPILE_TEST
 	depends on ARCH_OMAP2PLUS || COMPILE_TEST
+	select SG_SPLIT
 	help
 	help
 	  SPI master controller for OMAP24XX and later Multichannel SPI
 	  SPI master controller for OMAP24XX and later Multichannel SPI
 	  (McSPI) modules.
 	  (McSPI) modules.