summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2014-09-02 14:02:50 +0200
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>2014-09-24 17:47:16 +0530
commit75f698e51c7e40048e4d96fdaaaebeaefc945538 (patch)
tree837d11e2b84dd888fecb7dc88a275ec3c7ddb875 /arch/arm/include
parent31969b8993ee00015b7ac0f979d601299158fc6e (diff)
downloadu-boot-imx-75f698e51c7e40048e4d96fdaaaebeaefc945538.zip
u-boot-imx-75f698e51c7e40048e4d96fdaaaebeaefc945538.tar.gz
u-boot-imx-75f698e51c7e40048e4d96fdaaaebeaefc945538.tar.bz2
arm: kirkwood: spi.h: Add some missing parenthesis
Signed-off-by: Stefan Roese <sr@denx.de> Tested-by: Luka Perkov <luka@openwrt.org> Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-kirkwood/spi.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/include/asm/arch-kirkwood/spi.h b/arch/arm/include/asm/arch-kirkwood/spi.h
index b1cf614..e512dce 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__ */