Commit 4e595c0d authored by Sachin Kamat's avatar Sachin Kamat Committed by Greg Kroah-Hartman

Staging: speakup: Fix return value in synth.c

The function return type is a pointer. Hence return NULL instead
of 0.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Acked-by: default avatarSamuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 15ab600c
......@@ -157,7 +157,7 @@ const char *spk_synth_immediate(struct spk_synth *synth, const char *buff)
return buff;
buff++;
}
return 0;
return NULL;
}
EXPORT_SYMBOL_GPL(spk_synth_immediate);
......
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