From: Stefan Roese Date: Tue, 2 Sep 2014 12:02:50 +0000 (+0200) Subject: arm: kirkwood: spi.h: Add some missing parenthesis X-Git-Tag: v2014.10-rc3~59 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=75f698e51c7e40048e4d96fdaaaebeaefc945538;p=u-boot arm: kirkwood: spi.h: Add some missing parenthesis Signed-off-by: Stefan Roese Tested-by: Luka Perkov Reviewed-by: Jagannadha Sutradharudu Teki --- diff --git a/arch/arm/include/asm/arch-kirkwood/spi.h b/arch/arm/include/asm/arch-kirkwood/spi.h index b1cf614ca9..e512dcec16 100644 --- a/arch/arm/include/asm/arch-kirkwood/spi.h +++ b/arch/arm/include/asm/arch-kirkwood/spi.h @@ -43,10 +43,10 @@ struct kwspi_registers { #define KWSPI_XFERLEN_2BYTE (1 << 5) #define KWSPI_XFERLEN_MASK (1 << 5) #define KWSPI_ADRLEN_1BYTE 0 -#define KWSPI_ADRLEN_2BYTE 1 << 8 -#define KWSPI_ADRLEN_3BYTE 2 << 8 -#define KWSPI_ADRLEN_4BYTE 3 << 8 -#define KWSPI_ADRLEN_MASK 3 << 8 +#define KWSPI_ADRLEN_2BYTE (1 << 8) +#define KWSPI_ADRLEN_3BYTE (2 << 8) +#define KWSPI_ADRLEN_4BYTE (3 << 8) +#define KWSPI_ADRLEN_MASK (3 << 8) #define KWSPI_TIMEOUT 10000 #endif /* __KW_SPI_H__ */