mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
spi/bfin_spi: constify pin array
This array isn't written anywhere, so constify it. Signed-off-by: Mike Frysinger <[email protected]> Signed-off-by: Grant Likely <[email protected]>
This commit is contained in:
parent
47885ce81c
commit
ddc0bf13d6
1 changed files with 1 additions and 1 deletions
|
|
@ -965,7 +965,7 @@ static int bfin_spi_transfer(struct spi_device *spi, struct spi_message *msg)
|
|||
|
||||
#define MAX_SPI_SSEL 7
|
||||
|
||||
static u16 ssel[][MAX_SPI_SSEL] = {
|
||||
static const u16 ssel[][MAX_SPI_SSEL] = {
|
||||
{P_SPI0_SSEL1, P_SPI0_SSEL2, P_SPI0_SSEL3,
|
||||
P_SPI0_SSEL4, P_SPI0_SSEL5,
|
||||
P_SPI0_SSEL6, P_SPI0_SSEL7},
|
||||
|
|
|
|||
Loading…
Reference in a new issue