Commit b01e3b07 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven

m68k: zorro - Use %pR to print resources

Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent fae3306a
...@@ -165,10 +165,8 @@ static int __init zorro_init(void) ...@@ -165,10 +165,8 @@ static int __init zorro_init(void)
zorro_name_device(z); zorro_name_device(z);
z->resource.name = z->name; z->resource.name = z->name;
if (request_resource(zorro_find_parent_resource(z), &z->resource)) if (request_resource(zorro_find_parent_resource(z), &z->resource))
printk(KERN_ERR "Zorro: Address space collision on device %s " pr_err("Zorro: Address space collision on device %s %pR\n",
"[%lx:%lx]\n", z->name, &z->resource);
z->name, (unsigned long)zorro_resource_start(z),
(unsigned long)zorro_resource_end(z));
sprintf(z->dev.bus_id, "%02x", i); sprintf(z->dev.bus_id, "%02x", i);
z->dev.parent = &zorro_bus.dev; z->dev.parent = &zorro_bus.dev;
z->dev.bus = &zorro_bus_type; z->dev.bus = &zorro_bus_type;
......
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