]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: mxc_nand: reorder part_probes to let cmdline override other sources
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 6 Dec 2012 07:42:28 +0000 (08:42 +0100)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 10 Dec 2012 14:45:12 +0000 (16:45 +0200)
commit740bb0c4b0bbeb8970d62157685f6d4a261036a0
tree1e3c9133e09f223072293316b5b04e265413e93d
parentc10d8ee3feaf725007e515b5f2972dffaa793f9a
mtd: mxc_nand: reorder part_probes to let cmdline override other sources

The cmdline is the easiest to change source of information. Thus
let it take precedence over 'RedBoot' and 'ofpart'. This makes the
mxc_nand driver to be in sync with all other NAND drivers that support
'cmdlinepart' partition parsing.

Also change 'const char *' to 'const char const *' as advised by checkpatch.pl

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/nand/mxc_nand.c