PKGBUILDs/core/linux-mmp/0004-drivers-spi-Adding-mmp-dependency-for-SPI_PXA2XX.patch

35 lines
1.1 KiB
Diff
Raw Normal View History

2017-09-03 20:23:12 +00:00
From 3808257bfc402bc170581f2151959846d80996be Mon Sep 17 00:00:00 2001
2016-05-02 01:47:12 +00:00
From: Ashokkumar G <0xfee1dead.sa@gmail.com>
Date: Mon, 26 Jan 2015 11:08:19 -0700
2017-09-03 20:23:12 +00:00
Subject: [PATCH 4/9] drivers:spi: Adding mmp dependency for SPI_PXA2XX
2016-05-02 01:47:12 +00:00
adding arch_mmp dependency for SPI_PXA2XX as pxa168 based gplugd
uses SPI_PXA2XX
resolving compilation error of multiple definitions of ssp functions
pxa_ssp_request, pxa_ssp_free from plat-pxa/ssp.c and include/linux/pxa2xx_ssp.h
Signed-off-by: Ashokkumar G <0xfee1dead.sa@gmail.com>
---
drivers/spi/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
2017-02-09 01:28:44 +00:00
index 84e7c9e6ccef..caa969f64ff4 100644
2016-05-02 01:47:12 +00:00
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -383,8 +383,8 @@ config SPI_PXA2XX_DMA
config SPI_PXA2XX
tristate "PXA2xx SSP SPI master"
- depends on (ARCH_PXA || PCI || ACPI)
- select PXA_SSP if ARCH_PXA
+ depends on (ARCH_PXA || ARCH_MMP || PCI || ACPI)
+ select PXA_SSP if (ARCH_PXA || ARCH_MMP)
help
This enables using a PXA2xx or Sodaville SSP port as a SPI master
controller. The driver can be configured to use any SSP port and
--
2017-09-03 20:23:12 +00:00
2.14.1
2016-05-02 01:47:12 +00:00