diff options
author | Linus Walleij <linus.walleij@stericsson.com> | 2010-05-05 05:28:15 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-05-25 02:23:13 -0400 |
commit | 556f4aeb7d9dfac8573d0281dd555bd3210d8366 (patch) | |
tree | 43103539c2cdaae5a1032168076c52049e846025 /include/linux/amba/pl022.h | |
parent | 338ff2982d969a8e09ca356552cb5022ad380766 (diff) |
spi/pl022: fix up differences between ARM and ST versions
The PL022 SPI driver did not cleanly separate between the
original unmodified ARM version and the ST Microelectronics
versions. Split this more cleanly and fix some whitespace
moaning from checkpatch at the same time.
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'include/linux/amba/pl022.h')
-rw-r--r-- | include/linux/amba/pl022.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/amba/pl022.h b/include/linux/amba/pl022.h index e4836c6b3dd7..612f39913340 100644 --- a/include/linux/amba/pl022.h +++ b/include/linux/amba/pl022.h | |||
@@ -71,6 +71,7 @@ struct ssp_clock_params { | |||
71 | 71 | ||
72 | /** | 72 | /** |
73 | * enum ssp_rx_endian - endianess of Rx FIFO Data | 73 | * enum ssp_rx_endian - endianess of Rx FIFO Data |
74 | * this feature is only available in ST versionf of PL022 | ||
74 | */ | 75 | */ |
75 | enum ssp_rx_endian { | 76 | enum ssp_rx_endian { |
76 | SSP_RX_MSB, | 77 | SSP_RX_MSB, |
@@ -181,7 +182,8 @@ enum ssp_microwire_wait_state { | |||
181 | }; | 182 | }; |
182 | 183 | ||
183 | /** | 184 | /** |
184 | * enum Microwire - whether Full/Half Duplex | 185 | * enum Microwire - whether Full/Half Duplex, only available |
186 | * in the ST Micro variant. | ||
185 | * @SSP_MICROWIRE_CHANNEL_FULL_DUPLEX: SSPTXD becomes bi-directional, | 187 | * @SSP_MICROWIRE_CHANNEL_FULL_DUPLEX: SSPTXD becomes bi-directional, |
186 | * SSPRXD not used | 188 | * SSPRXD not used |
187 | * @SSP_MICROWIRE_CHANNEL_HALF_DUPLEX: SSPTXD is an output, SSPRXD is | 189 | * @SSP_MICROWIRE_CHANNEL_HALF_DUPLEX: SSPTXD is an output, SSPRXD is |