Commit 8080b0f5 authored by Zhenzhong Duan's avatar Zhenzhong Duan Committed by Greg Kroah-Hartman

staging: speakup: Fix a typo error print for softsynthu device

When softsynthu device fails the register, "/dev/softsynthu" should be
printed instead of "/dev/softsynth".
Signed-off-by: default avatarZhenzhong Duan <zhenzhong.duan@gmail.com>
Reviewed-by: default avatarSamuel Thibault <samuel.thibault@ens-lyon.org>
Cc: William Hubbs <w.d.hubbs@gmail.com>
Cc: Chris Brannon <chris@the-brannons.com>
Cc: Kirk Reiser <kirk@reisers.ca>
Link: https://lore.kernel.org/r/20200305072151.403-1-zhenzhong.duan@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 696089de
...@@ -388,7 +388,7 @@ static int softsynth_probe(struct spk_synth *synth) ...@@ -388,7 +388,7 @@ static int softsynth_probe(struct spk_synth *synth)
synthu_device.name = "softsynthu"; synthu_device.name = "softsynthu";
synthu_device.fops = &softsynthu_fops; synthu_device.fops = &softsynthu_fops;
if (misc_register(&synthu_device)) { if (misc_register(&synthu_device)) {
pr_warn("Couldn't initialize miscdevice /dev/softsynth.\n"); pr_warn("Couldn't initialize miscdevice /dev/softsynthu.\n");
return -ENODEV; return -ENODEV;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment