The variable was already marked 'const' before the previous
patch, but the qualifier was in an unusual place, and now the
extra 'const' causes a harmless warning:
drivers/mtd/spi-nor/cadence-quadspi.c:1286:34: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier]
This removes the other 'const' instead.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| aspeed-smc.c | ||
| atmel-quadspi.c | ||
| cadence-quadspi.c | ||
| fsl-quadspi.c | ||
| hisi-sfc.c | ||
| intel-spi-platform.c | ||
| intel-spi.c | ||
| intel-spi.h | ||
| mtk-quadspi.c | ||
| nxp-spifi.c | ||
| spi-nor.c | ||
| stm32-quadspi.c | ||