Commit 3e270ba6 authored by Shiraz Hashim's avatar Shiraz Hashim Committed by Viresh Kumar

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: default avatarShiraz Hashim <shiraz.hashim@st.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 07e812a0
...@@ -34,9 +34,7 @@ ...@@ -34,9 +34,7 @@
/* ssp device registration */ /* ssp device registration */
static struct pl022_ssp_controller ssp1_plat_data = { static struct pl022_ssp_controller ssp1_plat_data = {
.bus_id = 0,
.enable_dma = 0, .enable_dma = 0,
.num_chipselect = 3,
}; };
/* Add SPEAr1310 auxdata to pass platform data */ /* Add SPEAr1310 auxdata to pass platform data */
......
...@@ -57,12 +57,10 @@ static struct dw_dma_slave ssp_dma_param[] = { ...@@ -57,12 +57,10 @@ static struct dw_dma_slave ssp_dma_param[] = {
}; };
struct pl022_ssp_controller pl022_plat_data = { struct pl022_ssp_controller pl022_plat_data = {
.bus_id = 0,
.enable_dma = 1, .enable_dma = 1,
.dma_filter = dw_dma_filter, .dma_filter = dw_dma_filter,
.dma_rx_param = &ssp_dma_param[1], .dma_rx_param = &ssp_dma_param[1],
.dma_tx_param = &ssp_dma_param[0], .dma_tx_param = &ssp_dma_param[0],
.num_chipselect = 3,
}; };
/* CF device registration */ /* CF device registration */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment