Skip to content

Commit

Permalink
[MTD] [MAPS] Fix missing printk() parameter in physmap_of.c MTD driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Gibson authored and David Woodhouse committed May 9, 2007
1 parent 711fdf6 commit 2d0fa58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/maps/physmap_of.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ static int __devinit of_physmap_probe(struct of_device *dev, const struct of_dev
else {
if (strcmp(of_probe, "ROM"))
dev_dbg(&dev->dev, "map_probe: don't know probe type "
"'%s', mapping as rom\n");
"'%s', mapping as rom\n", of_probe);
info->mtd = do_map_probe("mtd_rom", &info->map);
}
if (info->mtd == NULL) {
Expand Down

0 comments on commit 2d0fa58

Please sign in to comment.