ALSA: ml403-ac97cr: Use vsprintf extension %pR for struct resource

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Joe Perches 2010-12-13 13:42:22 -08:00 committed by Takashi Iwai
parent 354d14b3f5
commit a8cc0f421b
1 changed files with 2 additions and 2 deletions

View File

@ -1143,8 +1143,8 @@ snd_ml403_ac97cr_create(struct snd_card *card, struct platform_device *pfdev,
(resource->start) + 1); (resource->start) + 1);
if (ml403_ac97cr->port == NULL) { if (ml403_ac97cr->port == NULL) {
snd_printk(KERN_ERR SND_ML403_AC97CR_DRIVER ": " snd_printk(KERN_ERR SND_ML403_AC97CR_DRIVER ": "
"unable to remap memory region (%x to %x)\n", "unable to remap memory region (%pR)\n",
resource->start, resource->end); resource);
snd_ml403_ac97cr_free(ml403_ac97cr); snd_ml403_ac97cr_free(ml403_ac97cr);
return -EBUSY; return -EBUSY;
} }