ipv6: fix race condition regarding dst->expires and dst->from.
[pandora-kernel.git] / include / linux / platform_data / spi-omap2-mcspi.h
1 #ifndef _OMAP2_MCSPI_H
2 #define _OMAP2_MCSPI_H
3
4 #define OMAP2_MCSPI_REV 0
5 #define OMAP3_MCSPI_REV 1
6 #define OMAP4_MCSPI_REV 2
7
8 #define OMAP4_MCSPI_REG_OFFSET 0x100
9
10 #define MCSPI_PINDIR_D0_IN_D1_OUT       0
11 #define MCSPI_PINDIR_D0_OUT_D1_IN       1
12
13 struct omap2_mcspi_platform_config {
14         unsigned short  num_cs;
15         unsigned int regs_offset;
16         unsigned int pin_dir:1;
17 };
18
19 struct omap2_mcspi_dev_attr {
20         unsigned short num_chipselect;
21 };
22
23 struct omap2_mcspi_device_config {
24         unsigned turbo_mode:1;
25 };
26
27 #endif