From: Jingoo Han Date: Wed, 7 Aug 2013 07:18:52 +0000 (+0900) Subject: mtd: nand: mxc_nand: mark 'const' properly X-Git-Tag: v3.12-rc1~82^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2ac0376107b9350fbaf5abd94d33c4a07aa86c0;p=pandora-kernel.git 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 Signed-off-by: Brian Norris Signed-off-by: David Woodhouse --- Reading git-diff-tree failed