diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-12 23:50:27 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-27 18:23:58 +0200 |
commit | aa0a2ddc54fa8a22060d17a9ca7bbc4bcc51f260 (patch) | |
tree | e1d9495b2a21663330e2e02dcc4a038b48e65c49 /sound/arm/aaci.c | |
parent | [PATCH] 64bit resource: C99 changes for struct resource declarations (diff) | |
download | linux-aa0a2ddc54fa8a22060d17a9ca7bbc4bcc51f260.tar.xz linux-aa0a2ddc54fa8a22060d17a9ca7bbc4bcc51f260.zip |
[PATCH] 64bit resource: fix up printks for resources in sound drivers
This is needed if we wish to change the size of the resource structures.
Based on an original patch from Vivek Goyal <vgoyal@in.ibm.com>
Cc: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound/arm/aaci.c')
-rw-r--r-- | sound/arm/aaci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/arm/aaci.c b/sound/arm/aaci.c index 5f22d70fefc0..6b18225672c7 100644 --- a/sound/arm/aaci.c +++ b/sound/arm/aaci.c @@ -779,8 +779,9 @@ static struct aaci * __devinit aaci_init_card(struct amba_device *dev) strlcpy(card->driver, DRIVER_NAME, sizeof(card->driver)); strlcpy(card->shortname, "ARM AC'97 Interface", sizeof(card->shortname)); snprintf(card->longname, sizeof(card->longname), - "%s at 0x%08lx, irq %d", - card->shortname, dev->res.start, dev->irq[0]); + "%s at 0x%016llx, irq %d", + card->shortname, (unsigned long long)dev->res.start, + dev->irq[0]); aaci = card->private_data; mutex_init(&aaci->ac97_sem); |