diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-02-05 16:11:58 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-02-05 16:11:58 +0100 |
commit | 2ebfb8eeb8f244f9d25937d31a947895cf819e26 (patch) | |
tree | 65f383cbe592aeef04f67378a357779e756f0cbf /sound/sparc | |
parent | ee419653a38de93b75a577851d9e4003cf0bbe07 (diff) | |
download | lwn-2ebfb8eeb8f244f9d25937d31a947895cf819e26.tar.gz lwn-2ebfb8eeb8f244f9d25937d31a947895cf819e26.zip |
ALSA: Add missing KERN_* prefix to printk in other sound/*
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/sparc')
-rw-r--r-- | sound/sparc/amd7930.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/sparc/amd7930.c b/sound/sparc/amd7930.c index f87933e48812..7cbc725934e5 100644 --- a/sound/sparc/amd7930.c +++ b/sound/sparc/amd7930.c @@ -954,7 +954,8 @@ static int __devinit snd_amd7930_create(struct snd_card *card, amd->regs = of_ioremap(&op->resource[0], 0, resource_size(&op->resource[0]), "amd7930"); if (!amd->regs) { - snd_printk("amd7930-%d: Unable to map chip registers.\n", dev); + snd_printk(KERN_ERR + "amd7930-%d: Unable to map chip registers.\n", dev); return -EIO; } @@ -962,7 +963,7 @@ static int __devinit snd_amd7930_create(struct snd_card *card, if (request_irq(irq, snd_amd7930_interrupt, IRQF_DISABLED | IRQF_SHARED, "amd7930", amd)) { - snd_printk("amd7930-%d: Unable to grab IRQ %d\n", + snd_printk(KERN_ERR "amd7930-%d: Unable to grab IRQ %d\n", dev, irq); snd_amd7930_free(amd); return -EBUSY; |