diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-03-14 12:52:14 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-03-15 05:32:17 -0400 |
commit | 6ea41a2bee0aa540425e118133b4c97ce5f0806d (patch) | |
tree | 70345c127b8a4a67039d16fac1b7fda262c154a5 /drivers/spi/spi-s3c64xx.c | |
parent | 1afb708b7179d044bcb5d2334b3dc43b375ad728 (diff) |
spi: s3c64xx: Fix build
Commit 054ebc (spi: Compatibility with direction which is used in samsung
DMA operation) does not build as one hunk adds a brace to the first branch
of an if statement without adding at least the correspoding close. Remove
the unwanted brace.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/spi-s3c64xx.c')
-rw-r--r-- | drivers/spi/spi-s3c64xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index c5e5aab98f28..972a94c58be3 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c | |||
@@ -264,7 +264,7 @@ static void prepare_dma(struct s3c64xx_spi_dma_data *dma, | |||
264 | struct s3c64xx_spi_driver_data *sdd; | 264 | struct s3c64xx_spi_driver_data *sdd; |
265 | struct samsung_dma_prep_info info; | 265 | struct samsung_dma_prep_info info; |
266 | 266 | ||
267 | if (dma->direction == DMA_DEV_TO_MEM) { | 267 | if (dma->direction == DMA_DEV_TO_MEM) |
268 | sdd = container_of((void *)dma, | 268 | sdd = container_of((void *)dma, |
269 | struct s3c64xx_spi_driver_data, rx_dma); | 269 | struct s3c64xx_spi_driver_data, rx_dma); |
270 | else | 270 | else |