ALSA: pcsp: Include appropriate header file in pcsp/pcsp_input.c
authorRashika Kheria <rashika.kheria@gmail.com>
Fri, 7 Feb 2014 16:41:53 +0000 (22:11 +0530)
committerTakashi Iwai <tiwai@suse.de>
Fri, 7 Feb 2014 17:24:20 +0000 (18:24 +0100)
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 <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/pcsp/pcsp_input.c

index b874b0ad99cd2ba7cd8fea316c53ad225a2220d1..0ecf8a453e0112cb56a76ec2035ad2c196fec87f 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/input.h>
 #include <asm/io.h>
 #include "pcsp.h"
+#include "pcsp_input.h"
 
 static void pcspkr_do_sound(unsigned int count)
 {