]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf86e05a6013557beb77fccc0ecca971bbb698249
treee30673a813330a3f115d9ae6feb40a60a14d466d
parentf61e375feb8bb6ad0667c534b28ac0037b727c87
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
a48567fe033a7941f0e6e43cb202154c9ccc660a
"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