Skip to content

Commit 808f515

Browse files
Colin Ian Kingbroonie
authored andcommitted
spi: pic32: fix spelling mistakes on macro names
Trivial fix to spelling mistakes macros; fix EMPTY spellings: RX_FIFO_EMTPY -> RX_FIFO_EMPTY TX_FIFO_EMTPY -> TX_FIFO_EMPTY Note that there are no other occurrances of these macros in the source. Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 5771a8c commit 808f515

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/spi/spi-pic32.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ struct pic32_spi_regs {
5252

5353
/* Bit fields of SPI Control Register */
5454
#define CTRL_RX_INT_SHIFT 0 /* Rx interrupt generation */
55-
#define RX_FIFO_EMTPY 0
55+
#define RX_FIFO_EMPTY 0
5656
#define RX_FIFO_NOT_EMPTY 1 /* not empty */
5757
#define RX_FIFO_HALF_FULL 2 /* full by half or more */
5858
#define RX_FIFO_FULL 3 /* completely full */
5959

6060
#define CTRL_TX_INT_SHIFT 2 /* TX interrupt generation */
6161
#define TX_FIFO_ALL_EMPTY 0 /* completely empty */
62-
#define TX_FIFO_EMTPY 1 /* empty */
62+
#define TX_FIFO_EMPTY 1 /* empty */
6363
#define TX_FIFO_HALF_EMPTY 2 /* empty by half or more */
6464
#define TX_FIFO_NOT_FULL 3 /* atleast one empty */
6565

0 commit comments

Comments
 (0)