diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2014-02-07 11:46:31 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-02-07 12:24:42 -0500 |
commit | 71b9b1738d32b083a2482eb316675e919d78599e (patch) | |
tree | 84119b95153de03b3fe36f969f2589bc337616e7 /sound/oss/pas2_card.c | |
parent | f9367f3fbe3c620df7cedae1109743d7bfa11abe (diff) |
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_card.c')
-rw-r--r-- | sound/oss/pas2_card.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/oss/pas2_card.c b/sound/oss/pas2_card.c index 7004e24d209f..b07954a79536 100644 --- a/sound/oss/pas2_card.c +++ b/sound/oss/pas2_card.c | |||
@@ -74,8 +74,6 @@ static char *pas_model_names[] = { | |||
74 | * to support other than the default base address | 74 | * to support other than the default base address |
75 | */ | 75 | */ |
76 | 76 | ||
77 | extern void mix_write(unsigned char data, int ioaddr); | ||
78 | |||
79 | unsigned char pas_read(int ioaddr) | 77 | unsigned char pas_read(int ioaddr) |
80 | { | 78 | { |
81 | return inb(ioaddr + pas_translate_code); | 79 | return inb(ioaddr + pas_translate_code); |