diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2008-12-30 14:23:35 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2009-01-12 20:56:43 +0100 |
commit | b01e3b07ec29e98464a4f580ae000291cf0d2f87 (patch) | |
tree | af985fba32c31755c3e0eadc5622916b5476cd26 /drivers/zorro | |
parent | fae3306ac0c74be0e1ab32e1c77120e792ab2a33 (diff) | |
download | linux-b01e3b07ec29e98464a4f580ae000291cf0d2f87.tar.bz2 |
m68k: zorro - Use %pR to print resources
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'drivers/zorro')
-rw-r--r-- | drivers/zorro/zorro.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/zorro/zorro.c b/drivers/zorro/zorro.c index 2dda20ac6b36..a1585d6f6486 100644 --- a/drivers/zorro/zorro.c +++ b/drivers/zorro/zorro.c @@ -165,10 +165,8 @@ static int __init zorro_init(void) zorro_name_device(z); z->resource.name = z->name; if (request_resource(zorro_find_parent_resource(z), &z->resource)) - printk(KERN_ERR "Zorro: Address space collision on device %s " - "[%lx:%lx]\n", - z->name, (unsigned long)zorro_resource_start(z), - (unsigned long)zorro_resource_end(z)); + pr_err("Zorro: Address space collision on device %s %pR\n", + z->name, &z->resource); sprintf(z->dev.bus_id, "%02x", i); z->dev.parent = &zorro_bus.dev; z->dev.bus = &zorro_bus_type; |