diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2010-05-14 04:14:24 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-05-14 04:14:27 -0400 |
commit | abab7ebf8cc12a6bb03d06b103a49e97276168f0 (patch) | |
tree | d6872b92fe745108067380d17c9a1d6c140f6976 /drivers/mtd | |
parent | f6b173cc9d73c00a3182ec3fdb0f03909cad4b5b (diff) |
mtd: cfi_cmdset_0002: Fix argument order in bootloc warning
Doh. Pointed out by Guillaume LECERF <glecerf@gmail.com> since I managed
to miss it in my test builds. S'what I get for hacking at 2am, I suppose.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/chips/cfi_cmdset_0002.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/chips/cfi_cmdset_0002.c b/drivers/mtd/chips/cfi_cmdset_0002.c index 0e21b0982480..87e86e93ebf9 100644 --- a/drivers/mtd/chips/cfi_cmdset_0002.c +++ b/drivers/mtd/chips/cfi_cmdset_0002.c | |||
@@ -442,7 +442,7 @@ struct mtd_info *cfi_cmdset_0002(struct map_info *map, int primary) | |||
442 | if ((bootloc < 2) || (bootloc > 5)) { | 442 | if ((bootloc < 2) || (bootloc > 5)) { |
443 | printk(KERN_WARNING "%s: CFI contains unrecognised boot " | 443 | printk(KERN_WARNING "%s: CFI contains unrecognised boot " |
444 | "bank location (%d). Assuming bottom.\n", | 444 | "bank location (%d). Assuming bottom.\n", |
445 | bootloc, map->name); | 445 | map->name, bootloc); |
446 | bootloc = 2; | 446 | bootloc = 2; |
447 | } | 447 | } |
448 | 448 | ||