]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/mtd/chips/cfi_cmdset_0002.c
mtd: cfi_cmdset_0002: Fix argument order in bootloc warning
[mv-sheeva.git] / drivers / mtd / chips / cfi_cmdset_0002.c
index 0e21b098248009e6950b7230269263ceb567c966..87e86e93ebf98d244f9a7df2a8270dc790136772 100644 (file)
@@ -442,7 +442,7 @@ struct mtd_info *cfi_cmdset_0002(struct map_info *map, int primary)
                        if ((bootloc < 2) || (bootloc > 5)) {
                                printk(KERN_WARNING "%s: CFI contains unrecognised boot "
                                       "bank location (%d). Assuming bottom.\n",
-                                      bootloc, map->name);
+                                      map->name, bootloc);
                                bootloc = 2;
                        }