]> err.no Git - linux-2.6/blobdiff - drivers/mtd/maps/plat-ram.c
Merge branch 'core/rodata' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux...
[linux-2.6] / drivers / mtd / maps / plat-ram.c
index f0b10ca0502920240b9fee8e3ff728df1808d451..3eb2643b232875cea389ed0cfb45a55147eb898b 100644 (file)
@@ -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++)