ALSA: ml403-ac97cr: Use vsprintf extension %pR for struct resource
authorJoe Perches <joe@perches.com>
Mon, 13 Dec 2010 21:42:22 +0000 (13:42 -0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 14 Dec 2010 09:45:15 +0000 (10:45 +0100)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/ml403-ac97cr.c

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