diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2010-08-29 17:43:46 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-30 16:50:45 -0400 |
commit | c274f29120eff7852bb2370ae6f05f46de75edbc (patch) | |
tree | 89f20cc9ab58b0f5277cf4dc7a2fbc75a2bf7c2f /drivers/net/hydra.c | |
parent | 3d5b99ae82f8742e3bb1f8634fd11ac36ea19ee1 (diff) |
net/m68k: Hydra Ethernet - print whole resource instead of start address
resource_size_t changed from `unsigned long' to `phys_addr_t`, which is either
`u32' or `u64'.
Print the whole resource to remove the cast and to make it future-proof.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hydra.c')
-rw-r--r-- | drivers/net/hydra.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/hydra.c b/drivers/net/hydra.c index 376e953c6ce6..c5ef62ceb840 100644 --- a/drivers/net/hydra.c +++ b/drivers/net/hydra.c | |||
@@ -173,9 +173,8 @@ static int __devinit hydra_init(struct zorro_dev *z) | |||
173 | 173 | ||
174 | zorro_set_drvdata(z, dev); | 174 | zorro_set_drvdata(z, dev); |
175 | 175 | ||
176 | printk(KERN_INFO "%s: Hydra at 0x%08llx, address " | 176 | pr_info("%s: Hydra at %pR, address %pM (hydra.c " HYDRA_VERSION ")\n", |
177 | "%pM (hydra.c " HYDRA_VERSION ")\n", | 177 | dev->name, &z->resource, dev->dev_addr); |
178 | dev->name, (unsigned long long)z->resource.start, dev->dev_addr); | ||
179 | 178 | ||
180 | return 0; | 179 | return 0; |
181 | } | 180 | } |