]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: spi-nor: cqspi: remove duplicate const
authorArnd Bergmann <arnd@arndb.de>
Tue, 27 Jun 2017 15:34:19 +0000 (17:34 +0200)
committerCyrille Pitchen <cyrille.pitchen@wedev4u.fr>
Tue, 27 Jun 2017 19:28:52 +0000 (21:28 +0200)
commit315e9c767d9a4668ad68cde1b57a14f916c90668
treead51e27dfd0209ff745ae915bc5b685bf2672b4d
parentd8b494a32889eae6eebb71bb4de3e14025026fe5
mtd: spi-nor: cqspi: remove duplicate const

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: f993c123b461 ("mtd: spi-nor: cqspi: make of_device_ids const")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
drivers/mtd/spi-nor/cadence-quadspi.c