summaryrefslogtreecommitdiff
path: root/sound/drivers/virmidi.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-02-05 15:51:50 +0100
committerTakashi Iwai <tiwai@suse.de>2009-02-05 16:00:56 +0100
commit45203832df2fa9e94ca0a249ddb20d2b077e58cc (patch)
tree54b5fed5a98235333ee01706751e9e898ee56c77 /sound/drivers/virmidi.c
parent006de267351aa3d836f3307370eae7ec16eac09d (diff)
downloadlwn-45203832df2fa9e94ca0a249ddb20d2b077e58cc.tar.gz
lwn-45203832df2fa9e94ca0a249ddb20d2b077e58cc.zip
ALSA: Add missing KERN_* prefix to printk in sound/drivers
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers/virmidi.c')
-rw-r--r--sound/drivers/virmidi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/drivers/virmidi.c b/sound/drivers/virmidi.c
index f79e3614079d..1022e365606f 100644
--- a/sound/drivers/virmidi.c
+++ b/sound/drivers/virmidi.c
@@ -98,7 +98,9 @@ static int __devinit snd_virmidi_probe(struct platform_device *devptr)
vmidi->card = card;
if (midi_devs[dev] > MAX_MIDI_DEVICES) {
- snd_printk("too much midi devices for virmidi %d: force to use %d\n", dev, MAX_MIDI_DEVICES);
+ snd_printk(KERN_WARNING
+ "too much midi devices for virmidi %d: "
+ "force to use %d\n", dev, MAX_MIDI_DEVICES);
midi_devs[dev] = MAX_MIDI_DEVICES;
}
for (idx = 0; idx < midi_devs[dev]; idx++) {