Skip to content

Commit

Permalink
ARM: SPEAr13xx: Remove fields not required for ssp controller
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shiraz Hashim authored and Viresh Kumar committed Nov 26, 2012
1 parent 07e812a commit 3e270ba
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions arch/arm/mach-spear13xx/spear1310.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 0 additions & 2 deletions arch/arm/mach-spear13xx/spear13xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 3e270ba

Please sign in to comment.