diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2014-02-07 11:41:53 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-02-07 12:24:20 -0500 |
commit | 01b1dccbf74b18eff6257ee37fbcbdc1087a962c (patch) | |
tree | 2335a3dd9813712f583f042ef187f530354ccf2f /sound/drivers | |
parent | 61a75f138a351baf0fdc8c210cebd06b9ced4279 (diff) |
ALSA: pcsp: Include appropriate header file in pcsp/pcsp_input.c
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>
Diffstat (limited to 'sound/drivers')
-rw-r--r-- | sound/drivers/pcsp/pcsp_input.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ | |||
16 | #include <linux/input.h> | 16 | #include <linux/input.h> |
17 | #include <asm/io.h> | 17 | #include <asm/io.h> |
18 | #include "pcsp.h" | 18 | #include "pcsp.h" |
19 | #include "pcsp_input.h" | ||
19 | 20 | ||
20 | static void pcspkr_do_sound(unsigned int count) | 21 | static void pcspkr_do_sound(unsigned int count) |
21 | { | 22 | { |