Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ea41a2b authored by Mark Brown's avatar Mark Brown Committed by Grant Likely
Browse files

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 1afb708b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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