Commit 0aac8812 authored by Jarkko Nikula's avatar Jarkko Nikula Committed by Tony Lindgren

ARM: OMAP: McSPI: Remove unused flag from struct omap2_mcspi_device_config

Flag single_channel in struct omap2_mcspi_device_config is not used
by drivers/spi/spi-omap2-mcspi.c so we may remove it from include/plat/mcspi.h
and affected board files.
Signed-off-by: default avatarJarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 61b80086
...@@ -280,7 +280,6 @@ static struct omap_dss_board_info cm_t35_dss_data = { ...@@ -280,7 +280,6 @@ static struct omap_dss_board_info cm_t35_dss_data = {
static struct omap2_mcspi_device_config tdo24m_mcspi_config = { static struct omap2_mcspi_device_config tdo24m_mcspi_config = {
.turbo_mode = 0, .turbo_mode = 0,
.single_channel = 1, /* 0: slave, 1: master */
}; };
static struct tdo24m_platform_data tdo24m_config = { static struct tdo24m_platform_data tdo24m_config = {
......
...@@ -137,7 +137,6 @@ static void __init n8x0_usb_init(void) {} ...@@ -137,7 +137,6 @@ static void __init n8x0_usb_init(void) {}
static struct omap2_mcspi_device_config p54spi_mcspi_config = { static struct omap2_mcspi_device_config p54spi_mcspi_config = {
.turbo_mode = 0, .turbo_mode = 0,
.single_channel = 1,
}; };
static struct spi_board_info n800_spi_board_info[] __initdata = { static struct spi_board_info n800_spi_board_info[] __initdata = {
......
...@@ -138,17 +138,14 @@ static struct lp5523_platform_data rx51_lp5523_platform_data = { ...@@ -138,17 +138,14 @@ static struct lp5523_platform_data rx51_lp5523_platform_data = {
static struct omap2_mcspi_device_config wl1251_mcspi_config = { static struct omap2_mcspi_device_config wl1251_mcspi_config = {
.turbo_mode = 0, .turbo_mode = 0,
.single_channel = 1,
}; };
static struct omap2_mcspi_device_config mipid_mcspi_config = { static struct omap2_mcspi_device_config mipid_mcspi_config = {
.turbo_mode = 0, .turbo_mode = 0,
.single_channel = 1,
}; };
static struct omap2_mcspi_device_config tsc2005_mcspi_config = { static struct omap2_mcspi_device_config tsc2005_mcspi_config = {
.turbo_mode = 0, .turbo_mode = 0,
.single_channel = 1,
}; };
static struct spi_board_info rx51_peripherals_spi_board_info[] __initdata = { static struct spi_board_info rx51_peripherals_spi_board_info[] __initdata = {
......
...@@ -117,7 +117,6 @@ static struct omap_dss_board_info zoom_dss_data = { ...@@ -117,7 +117,6 @@ static struct omap_dss_board_info zoom_dss_data = {
static struct omap2_mcspi_device_config dss_lcd_mcspi_config = { static struct omap2_mcspi_device_config dss_lcd_mcspi_config = {
.turbo_mode = 1, .turbo_mode = 1,
.single_channel = 1, /* 0: slave, 1: master */
}; };
static struct spi_board_info nec_8048_spi_board_info[] __initdata = { static struct spi_board_info nec_8048_spi_board_info[] __initdata = {
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE) defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE)
static struct omap2_mcspi_device_config ads7846_mcspi_config = { static struct omap2_mcspi_device_config ads7846_mcspi_config = {
.turbo_mode = 0, .turbo_mode = 0,
.single_channel = 1, /* 0: slave, 1: master */
}; };
static struct ads7846_platform_data ads7846_config = { static struct ads7846_platform_data ads7846_config = {
......
...@@ -18,9 +18,6 @@ struct omap2_mcspi_dev_attr { ...@@ -18,9 +18,6 @@ struct omap2_mcspi_dev_attr {
struct omap2_mcspi_device_config { struct omap2_mcspi_device_config {
unsigned turbo_mode:1; unsigned turbo_mode:1;
/* Do we want one channel enabled at the same time? */
unsigned single_channel:1;
}; };
#endif #endif
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