From: Stefan Roese Date: Fri, 1 Feb 2019 10:17:13 +0000 (+0100) Subject: staging: spi: mt7621: Sort register definitions X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=376a62202152ac878c7d839657ddc6f3369caaf7;p=openwrt%2Fstaging%2Fblogic.git staging: spi: mt7621: Sort register definitions This patch sorts the SPI register definitions by increasing addresses. Signed-off-by: Stefan Roese Cc: Mark Brown Cc: Sankalp Negi Cc: Chuanhong Guo Cc: John Crispin Reviewd-by: NeilBrown Signed-off-by: Greg Kroah-Hartman --- 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)