X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fmtd%2Fmaps%2Fplat-ram.c;h=3eb2643b232875cea389ed0cfb45a55147eb898b;hb=d18bb9a548e550f3ced57618e75085fb3f173133;hp=f0b10ca0502920240b9fee8e3ff728df1808d451;hpb=7e97b28309edc5669ced2bb1371704e8f8d084e3;p=linux-2.6 diff --git a/drivers/mtd/maps/plat-ram.c b/drivers/mtd/maps/plat-ram.c index f0b10ca050..3eb2643b23 100644 --- a/drivers/mtd/maps/plat-ram.c +++ b/drivers/mtd/maps/plat-ram.c @@ -209,7 +209,7 @@ static int platram_probe(struct platform_device *pdev) /* probe for the right mtd map driver * supplied by the platform_data struct */ - if (pdata->map_probes != 0) { + if (pdata->map_probes) { const char **map_probes = pdata->map_probes; for ( ; !info->mtd && *map_probes; map_probes++)