[PATCH 7/9 v3] staging: spi: mt7621: Sort register definitions
Stefan Roese
sr at denx.de
Fri Feb 1 10:17:13 UTC 2019
This patch sorts the SPI register definitions by increasing addresses.
Signed-off-by: Stefan Roese <sr at denx.de>
Cc: Mark Brown <broonie at kernel.org>
Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
Cc: NeilBrown <neil at brown.name>
Cc: Sankalp Negi <sankalpnegi2310 at gmail.com>
Cc: Chuanhong Guo <gch981213 at gmail.com>
Cc: John Crispin <john at phrozen.org>
---
v3:
- New patch, changes spilt into separate patches
drivers/staging/mt7621-spi/spi-mt7621.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging/mt7621-spi/spi-mt7621.c
index 00cff75ee7ac..89586a895320 100644
--- a/drivers/staging/mt7621-spi/spi-mt7621.c
+++ b/drivers/staging/mt7621-spi/spi-mt7621.c
@@ -36,9 +36,9 @@
#define SPI_CTL_TX_RX_CNT_MASK 0xff
#define SPI_CTL_START BIT(8)
-#define MT7621_SPI_POLAR 0x38
#define MT7621_SPI_MASTER 0x28
#define MT7621_SPI_MOREBUF 0x2c
+#define MT7621_SPI_POLAR 0x38
#define MT7621_SPI_SPACE 0x3c
#define MT7621_CPHA BIT(5)
--
2.20.1
More information about the devel
mailing list