spi: s3c64xx: Fix build
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 14 Mar 2012 16:52:14 +0000 (16:52 +0000)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 15 Mar 2012 09:32:17 +0000 (03:32 -0600)
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>
drivers/spi/spi-s3c64xx.c

index c5e5aab..972a94c 100644 (file)
@@ -264,7 +264,7 @@ static void prepare_dma(struct s3c64xx_spi_dma_data *dma,
        struct s3c64xx_spi_driver_data *sdd;
        struct samsung_dma_prep_info info;
 
-       if (dma->direction == DMA_DEV_TO_MEM) {
+       if (dma->direction == DMA_DEV_TO_MEM)
                sdd = container_of((void *)dma,
                        struct s3c64xx_spi_driver_data, rx_dma);
        else