From 01b1dccbf74b18eff6257ee37fbcbdc1087a962c Mon Sep 17 00:00:00 2001 From: Rashika Kheria Date: Fri, 7 Feb 2014 22:11:53 +0530 Subject: ALSA: pcsp: Include appropriate header file in pcsp/pcsp_input.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Include appropriate header file in drivers/pcsp/pcsp_input.c because it defines function whose prototype definitions are present in drivers/pcsp/pcsp_input.h. This eliminates the following warning in drivers/pcsp/pcsp_input.c: sound/drivers/pcsp/pcsp_input.c:42:6: warning: no previous prototype for ‘pcspkr_stop_sound’ [-Wmissing-prototypes] sound/drivers/pcsp/pcsp_input.c:80:5: warning: no previous prototype for ‘pcspkr_input_init’ [-Wmissing-prototypes] sound/drivers/pcsp/pcsp_input.c:110:5: warning: no previous prototype for ‘pcspkr_input_remove’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett Signed-off-by: Takashi Iwai --- sound/drivers/pcsp/pcsp_input.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sound') diff --git a/sound/drivers/pcsp/pcsp_input.c b/sound/drivers/pcsp/pcsp_input.c index b874b0ad99cd..0ecf8a453e01 100644 --- a/sound/drivers/pcsp/pcsp_input.c +++ b/sound/drivers/pcsp/pcsp_input.c @@ -16,6 +16,7 @@ #include #include #include "pcsp.h" +#include "pcsp_input.h" static void pcspkr_do_sound(unsigned int count) { -- cgit v1.2.3