Commit 46e61750 authored by Dan Carpenter's avatar Dan Carpenter Committed by Tony Lindgren

ARM: omap2: fix a debug printk

The %pR format string takes a pointer to struct resource, but this is
passing a pointer to a pointer which it will print wrong information.

Fixes: c63f5b45 ("ARM: omap2: Use of_range_to_resource() for "ranges" parsing")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Message-ID: <c126dc33-233a-4776-806f-9dff0e73a181@moroto.mountain>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 06f114cf
...@@ -2209,7 +2209,7 @@ int omap_hwmod_parse_module_range(struct omap_hwmod *oh, ...@@ -2209,7 +2209,7 @@ int omap_hwmod_parse_module_range(struct omap_hwmod *oh,
return err; return err;
pr_debug("omap_hwmod: %s %pOFn at %pR\n", pr_debug("omap_hwmod: %s %pOFn at %pR\n",
oh->name, np, &res); oh->name, np, res);
if (oh && oh->mpu_rt_idx) { if (oh && oh->mpu_rt_idx) {
omap_hwmod_fix_mpu_rt_idx(oh, np, res); omap_hwmod_fix_mpu_rt_idx(oh, np, res);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment