X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Famba%2Fbus.c;h=9e3e2a69c03a6dedd375b32666e94b0989ed1566;hb=a8c4c20dfa8b28a3c99e33c639d9c2ea5657741e;hp=889855d8d9f9080ee9b98c3a1a1bcd0691006f59;hpb=1fd5a46dd6bbca3a1275465120caf4748872c2a7;p=linux-2.6 diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c index 889855d8d9..9e3e2a69c0 100644 --- a/drivers/amba/bus.c +++ b/drivers/amba/bus.c @@ -180,8 +180,9 @@ static DEVICE_ATTR(name, S_IRUGO, show_##name, NULL) amba_attr(id, "%08x\n", dev->periphid); amba_attr(irq0, "%u\n", dev->irq[0]); amba_attr(irq1, "%u\n", dev->irq[1]); -amba_attr(resource, "\t%08lx\t%08lx\t%08lx\n", - dev->res.start, dev->res.end, dev->res.flags); +amba_attr(resource, "\t%016llx\t%016llx\t%016lx\n", + (unsigned long long)dev->res.start, (unsigned long long)dev->res.end, + dev->res.flags); /** * amba_device_register - register an AMBA device