Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2d0fa586 authored by David Gibson's avatar David Gibson Committed by David Woodhouse
Browse files

[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: default avatarDavid Gibson <david@gibson.dropbear.id.au>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 711fdf62
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {