This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / mtd / chips / amd_flash.c
index 6606b93..ca710c7 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Author: Jonas Holmberg <jonas.holmberg@axis.com>
  *
- * $Id: amd_flash.c,v 1.23 2003/06/12 09:24:13 dwmw2 Exp $
+ * $Id: amd_flash.c,v 1.24 2004/07/12 13:34:30 dwmw2 Exp $
  *
  * Copyright (c) 2001 Axis Communications AB
  *
@@ -718,7 +718,7 @@ static struct mtd_info *amd_flash_probe(struct map_info *map)
                       "memory for MTD erase region info\n", map->name);
                kfree(mtd);
                map->fldrv_priv = NULL;
-               return 0;
+               return NULL;
        }
 
        reg_idx = 0;