summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShiraz Hashim <shiraz.hashim@st.com>2012-08-29 21:57:36 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2012-11-26 16:55:31 +0530
commit3e270ba6e9158f0958e46a606cbeb14ddaf6979b (patch)
tree405dfa4d64540903ed27dee7a3564a7fcb7573ec
parent07e812a0aeaaf21a23b3db5048a65c7042248321 (diff)
ARM: SPEAr13xx: Remove fields not required for ssp controller
Few fields are not required to be programmed in platform data of spi controller now, as it comes via DT. Remove them. Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
-rw-r--r--arch/arm/mach-spear13xx/spear1310.c2
-rw-r--r--arch/arm/mach-spear13xx/spear13xx.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-spear13xx/spear1310.c b/arch/arm/mach-spear13xx/spear1310.c
index 593a756dc7f7..451f3b1867b0 100644
--- a/arch/arm/mach-spear13xx/spear1310.c
+++ b/arch/arm/mach-spear13xx/spear1310.c
@@ -34,9 +34,7 @@
/* ssp device registration */
static struct pl022_ssp_controller ssp1_plat_data = {
- .bus_id = 0,
.enable_dma = 0,
- .num_chipselect = 3,
};
/* Add SPEAr1310 auxdata to pass platform data */
diff --git a/arch/arm/mach-spear13xx/spear13xx.c b/arch/arm/mach-spear13xx/spear13xx.c
index 5633d698f1e1..c4af775a8451 100644
--- a/arch/arm/mach-spear13xx/spear13xx.c
+++ b/arch/arm/mach-spear13xx/spear13xx.c
@@ -57,12 +57,10 @@ static struct dw_dma_slave ssp_dma_param[] = {
};
struct pl022_ssp_controller pl022_plat_data = {
- .bus_id = 0,
.enable_dma = 1,
.dma_filter = dw_dma_filter,
.dma_rx_param = &ssp_dma_param[1],
.dma_tx_param = &ssp_dma_param[0],
- .num_chipselect = 3,
};
/* CF device registration */