diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-12 17:50:27 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-27 12:23:58 -0400 |
commit | aa0a2ddc54fa8a22060d17a9ca7bbc4bcc51f260 (patch) | |
tree | e1d9495b2a21663330e2e02dcc4a038b48e65c49 /sound/arm/aaci.c | |
parent | 740e518efcd84ce5e53ecf3c4c9be08cf8f3747c (diff) |
[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) | |||
779 | strlcpy(card->driver, DRIVER_NAME, sizeof(card->driver)); | 779 | strlcpy(card->driver, DRIVER_NAME, sizeof(card->driver)); |
780 | strlcpy(card->shortname, "ARM AC'97 Interface", sizeof(card->shortname)); | 780 | strlcpy(card->shortname, "ARM AC'97 Interface", sizeof(card->shortname)); |
781 | snprintf(card->longname, sizeof(card->longname), | 781 | snprintf(card->longname, sizeof(card->longname), |
782 | "%s at 0x%08lx, irq %d", | 782 | "%s at 0x%016llx, irq %d", |
783 | card->shortname, dev->res.start, dev->irq[0]); | 783 | card->shortname, (unsigned long long)dev->res.start, |
784 | dev->irq[0]); | ||
784 | 785 | ||
785 | aaci = card->private_data; | 786 | aaci = card->private_data; |
786 | mutex_init(&aaci->ac97_sem); | 787 | mutex_init(&aaci->ac97_sem); |