mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-11 17:34:57 +00:00
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
This commit is contained in:
parent
b756788cc4
commit
300be15e84
@ -56,14 +56,10 @@ static int oxnas_nand_probe(struct platform_device *pdev)
|
|||||||
return 0;
|
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 = {
|
static struct platform_nand_data oxnas_nand_data = {
|
||||||
.chip = {
|
.chip = {
|
||||||
.nr_chips = 1,
|
.nr_chips = 1,
|
||||||
.chip_delay = 30,
|
.chip_delay = 30,
|
||||||
.part_probe_types = part_probes,
|
|
||||||
},
|
},
|
||||||
.ctrl = {
|
.ctrl = {
|
||||||
.probe = oxnas_nand_probe,
|
.probe = oxnas_nand_probe,
|
||||||
|
Loading…
Reference in New Issue
Block a user