OSDN Git Service

spi: pl08x: do not select S3C64XX_PL080
authorArnd Bergmann <arnd@arndb.de>
Wed, 28 Jan 2015 13:27:06 +0000 (14:27 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 28 Jan 2015 17:37:16 +0000 (17:37 +0000)
The pl08x driver originally selected S3C64XX_PL080 to avoid having
the legacy Samsung DMA interfaces. Those are now gone, so the
select is no longer needed, but it now causes problems when
CONFIG_DMA_ENGINE is disabled:

arch/arm/plat-samsung/built-in.o: In function `s3c64xx_spi0_set_platdata':
:(.init.text+0x518): undefined reference to `pl08x_filter_id'

This simply removes the 'select' to avoid this problem.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/Kconfig

index 9982998..d402060 100644 (file)
@@ -460,7 +460,6 @@ config SPI_S3C24XX_FIQ
 config SPI_S3C64XX
        tristate "Samsung S3C64XX series type SPI"
        depends on (PLAT_SAMSUNG || ARCH_EXYNOS)
-       select S3C64XX_PL080 if ARCH_S3C64XX
        help
          SPI driver for Samsung S3C64XX and newer SoCs.