aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-03-10 21:19:58 +0000
committerJohn Crispin <john@openwrt.org>2016-03-10 21:19:58 +0000
commit300be15e8484e0cc19fb61e9bfe8f2bb1e244ada (patch)
tree0aa415e4b0c9f4f92752339e2141ee928e450d98
parentb756788cc40aa544a1389dc6a8aa661d536cd4e7 (diff)
downloadupstream-300be15e8484e0cc19fb61e9bfe8f2bb1e244ada.tar.gz
upstream-300be15e8484e0cc19fb61e9bfe8f2bb1e244ada.tar.bz2
upstream-300be15e8484e0cc19fb61e9bfe8f2bb1e244ada.zip
oxnas: complete NAND driver clean-up
some bit rot was accidentally left-out in r48986, remove it. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 48997
-rw-r--r--target/linux/oxnas/files/drivers/mtd/nand/oxnas_nand.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/target/linux/oxnas/files/drivers/mtd/nand/oxnas_nand.c b/target/linux/oxnas/files/drivers/mtd/nand/oxnas_nand.c
index 9536e5179c..c96d66b245 100644
--- a/target/linux/oxnas/files/drivers/mtd/nand/oxnas_nand.c
+++ b/target/linux/oxnas/files/drivers/mtd/nand/oxnas_nand.c
@@ -56,14 +56,10 @@ static int oxnas_nand_probe(struct platform_device *pdev)
return 0;
}
-/* allow users to override the partition in DT using the cmdline */
-static const char * part_probes[] = { "cmdlinepart", "ofpart", NULL };
-
static struct platform_nand_data oxnas_nand_data = {
.chip = {
.nr_chips = 1,
.chip_delay = 30,
- .part_probe_types = part_probes,
},
.ctrl = {
.probe = oxnas_nand_probe,