]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mtd/maps/plat-ram.c
usb gadget serial: split out generic serial function
[linux-2.6-omap-h63xx.git] / 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++)