John Crispin da3888cb84 mtd: check for valid pdata inside plat_nand
If plat_nand loads and the platform_data is not properly set it will segfault.

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-09-29 15:01:52 +01:00
..
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 14:53:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-07-06 18:27:04 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2009-10-20 10:07:23 +09:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-03-27 00:56:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00