Просмотр исходного кода

oxnas: complete NAND driver clean-up

some bit rot was accidentally left-out in r48986, remove it.

Signed-off-by: Daniel Golle <[email protected]>

SVN-Revision: 48997
John Crispin 9 лет назад
Родитель
Сommit
300be15e84
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      target/linux/oxnas/files/drivers/mtd/nand/oxnas_nand.c

+ 0 - 4
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,