summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/common-board-devices.c
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@bitmer.com>2012-02-24 19:33:58 +0100
committerTony Lindgren <tony@atomide.com>2012-02-24 19:33:58 +0100
commit0aac881246fb25d017617cd7be68e93326d51ce1 (patch)
tree1c78286d59b899cd835fc5cdc7ad86b04493a2c3 /arch/arm/mach-omap2/common-board-devices.c
parentMerge branch 'entry-macro-cleanup' of git://sources.calxeda.com/kernel/linux ... (diff)
downloadlinux-0aac881246fb25d017617cd7be68e93326d51ce1.tar.xz
linux-0aac881246fb25d017617cd7be68e93326d51ce1.zip
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: Jarkko Nikula <jarkko.nikula@bitmer.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/common-board-devices.c')
-rw-r--r--arch/arm/mach-omap2/common-board-devices.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/common-board-devices.c b/arch/arm/mach-omap2/common-board-devices.c
index bcb0c5817167..2d1d775f2c3e 100644
--- a/arch/arm/mach-omap2/common-board-devices.c
+++ b/arch/arm/mach-omap2/common-board-devices.c
@@ -33,7 +33,6 @@
defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE)
static struct omap2_mcspi_device_config ads7846_mcspi_config = {
.turbo_mode = 0,
- .single_channel = 1, /* 0: slave, 1: master */
};
static struct ads7846_platform_data ads7846_config = {