mtd: nand/fsmc: Pass partition information through platform data
authorVipin Kumar <vipin.kumar@st.com>
Wed, 14 Mar 2012 06:17:07 +0000 (11:47 +0530)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 26 Mar 2012 23:57:32 +0000 (00:57 +0100)
commit7147032485293fc24751e4dede98ff29050fd3bd
treee30673a813330a3f115d9ae6feb40a60a14d466d
parentb2a2a84d35e0f42ad26e326ec4258f6a8b8eecbe
mtd: nand/fsmc: Pass partition information through platform data

This patch reimplements the passing of partition information through platform
data. This was unintentionally deleted in commit
0d04eda1430e9a796214bee644b7e05d99cfe613
"mtd: fsmc_nand.c: use mtd_device_parse_register"

Artem: fix gcc warning about passin 0 instead of NULL.

Signed-off-by: Vipin Kumar <vipin.kumar@st.com>
Acked-by: Stefan Roese <sr@denx.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: stable@kernel.org [3.2+]
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/fsmc_nand.c