diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/platform_data/spi-omap2-mcspi.h | 4 | ||||
-rw-r--r-- | include/linux/spi/tsc2005.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/platform_data/spi-omap2-mcspi.h b/include/linux/platform_data/spi-omap2-mcspi.h index a357eb26bd25..ce70f7b5a8e1 100644 --- a/include/linux/platform_data/spi-omap2-mcspi.h +++ b/include/linux/platform_data/spi-omap2-mcspi.h | |||
@@ -7,9 +7,13 @@ | |||
7 | 7 | ||
8 | #define OMAP4_MCSPI_REG_OFFSET 0x100 | 8 | #define OMAP4_MCSPI_REG_OFFSET 0x100 |
9 | 9 | ||
10 | #define MCSPI_PINDIR_D0_OUT_D1_IN 0 | ||
11 | #define MCSPI_PINDIR_D0_IN_D1_OUT 1 | ||
12 | |||
10 | struct omap2_mcspi_platform_config { | 13 | struct omap2_mcspi_platform_config { |
11 | unsigned short num_cs; | 14 | unsigned short num_cs; |
12 | unsigned int regs_offset; | 15 | unsigned int regs_offset; |
16 | unsigned int pin_dir:1; | ||
13 | }; | 17 | }; |
14 | 18 | ||
15 | struct omap2_mcspi_dev_attr { | 19 | struct omap2_mcspi_dev_attr { |
diff --git a/include/linux/spi/tsc2005.h b/include/linux/spi/tsc2005.h index d9b0c84220c7..8f721e465e05 100644 --- a/include/linux/spi/tsc2005.h +++ b/include/linux/spi/tsc2005.h | |||
@@ -3,8 +3,6 @@ | |||
3 | * | 3 | * |
4 | * Copyright (C) 2009-2010 Nokia Corporation | 4 | * Copyright (C) 2009-2010 Nokia Corporation |
5 | * | 5 | * |
6 | * Contact: Aaro Koskinen <aaro.koskinen@nokia.com> | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
9 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
10 | * the Free Software Foundation; either version 2 of the License, or | 8 | * the Free Software Foundation; either version 2 of the License, or |