diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2007-05-08 21:55:51 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-05-09 04:38:48 -0400 |
commit | 2d0fa586facb740b9ef9a01dcedc94c126c6f148 (patch) | |
tree | ea677f6e932770c4d0d674e794493e3d52c26eda /drivers | |
parent | 711fdf627ce1374796632f16acec1ab63d11e38f (diff) |
[MTD] [MAPS] Fix missing printk() parameter in physmap_of.c MTD driver
Squashes a compiler warning, and provides more useful information in
the case messed up device tree information.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/maps/physmap_of.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/physmap_of.c b/drivers/mtd/maps/physmap_of.c index 7efe744ad31e..8ec2fbe10744 100644 --- a/drivers/mtd/maps/physmap_of.c +++ b/drivers/mtd/maps/physmap_of.c | |||
@@ -186,7 +186,7 @@ static int __devinit of_physmap_probe(struct of_device *dev, const struct of_dev | |||
186 | else { | 186 | else { |
187 | if (strcmp(of_probe, "ROM")) | 187 | if (strcmp(of_probe, "ROM")) |
188 | dev_dbg(&dev->dev, "map_probe: don't know probe type " | 188 | dev_dbg(&dev->dev, "map_probe: don't know probe type " |
189 | "'%s', mapping as rom\n"); | 189 | "'%s', mapping as rom\n", of_probe); |
190 | info->mtd = do_map_probe("mtd_rom", &info->map); | 190 | info->mtd = do_map_probe("mtd_rom", &info->map); |
191 | } | 191 | } |
192 | if (info->mtd == NULL) { | 192 | if (info->mtd == NULL) { |