[MTD] RBTX4939 map driver
[safe/jmp/linux-2.6] / drivers / mtd / maps / plat-ram.c
index f0b10ca..e7dd9c8 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++)