mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 05:34:13 +08:00
71b9b1738d
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>
21 lines
500 B
C
21 lines
500 B
C
|
|
/* From pas_card.c */
|
|
int pas_set_intr(int mask);
|
|
int pas_remove_intr(int mask);
|
|
unsigned char pas_read(int ioaddr);
|
|
void pas_write(unsigned char data, int ioaddr);
|
|
|
|
/* From pas_audio.c */
|
|
void pas_pcm_interrupt(unsigned char status, int cause);
|
|
void pas_pcm_init(struct address_info *hw_config);
|
|
|
|
/* From pas_mixer.c */
|
|
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);
|