]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: nand: mxc_nand: mark 'const' properly
authorJingoo Han <jg1.han@samsung.com>
Wed, 7 Aug 2013 07:18:52 +0000 (16:18 +0900)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 21 Aug 2013 08:35:38 +0000 (01:35 -0700)
commit400b8f6a8252c51887ccf149851b873ab594dfd0
tree785c62e11b8a19411b987af924fbb7a3c748224f
parent717c0d2b759662f4255dc1a3b2f9900553ac84f7
mtd: nand: mxc_nand: mark 'const' properly

The values pointed by the pointer are used as read-only.
Also, mtd_device_parse_register() uses 'part_probes[]' as
the second argument which is defined as 'const char * const *types'.
Thus, the 'const' should be moved to be after the '*'.

drivers/mtd/nand/mxc_nand.c:269:25: warning: duplicate const

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/mxc_nand.c