diff options
author | 2014-02-07 22:16:31 +0530 | |
---|---|---|
committer | 2014-02-07 18:24:42 +0100 | |
commit | 71b9b1738d32b083a2482eb316675e919d78599e (patch) | |
tree | 84119b95153de03b3fe36f969f2589bc337616e7 /sound/oss/pas2.h | |
parent | ALSA: lx6464es: Remove unused function in pci/lx6464es/lx_core.c (diff) | |
download | linux-71b9b1738d32b083a2482eb316675e919d78599e.tar.gz linux-71b9b1738d32b083a2482eb316675e919d78599e.tar.bz2 linux-71b9b1738d32b083a2482eb316675e919d78599e.zip |
sound: Move prototype declaration to header file oss/pas2.h from oss/pas2_card.c
Move prototype declaration of function to header file oss/pas2.h
from oss/pas2_card.c because it is used by more than one file.
This eliminates the following warnings in oss/pas2_mixer.c:
sound/oss/pas2_mixer.c:62:1: warning: no previous prototype for ‘mix_write’ [-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/oss/pas2.h')
-rw-r--r-- | sound/oss/pas2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/oss/pas2.h b/sound/oss/pas2.h index fa12c55f560e..d19f757dbd79 100644 --- a/sound/oss/pas2.h +++ b/sound/oss/pas2.h @@ -15,3 +15,6 @@ int pas_init_mixer(void); /* From pas_midi.c */ void pas_midi_init(void); void pas_midi_interrupt(void); + +/* From pas2_mixer.c*/ +void mix_write(unsigned char data, int ioaddr); |