]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mtd/maps/plat-ram.c
Merge branch 'for-linus' of git://www.jni.nu/cris
[linux-2.6-omap-h63xx.git] / drivers / mtd / maps / plat-ram.c
index f0b10ca0502920240b9fee8e3ff728df1808d451..e7dd9c8a965e2fc86d32b98eaa060657d0819724 100644 (file)
@@ -6,8 +6,6 @@
  *
  * Generic platfrom device based RAM map
  *
- * $Id: plat-ram.c,v 1.7 2005/11/07 11:14:28 gleixner Exp $
- *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
@@ -209,7 +207,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++)