minor code clean up to sb_dsp.c and fix compile error with uart6850.c

This commit is contained in:
Amancio Hasty 1997-11-23 20:31:20 +00:00
parent 132502aa4d
commit f8f6afaf7c
2 changed files with 5 additions and 3 deletions

View File

@ -105,6 +105,7 @@ static void sb_dsp_reset(int dev);
sound_os_info *sb_osp = NULL;
#if defined(CONFIG_MIDI) || defined(CONFIG_AUDIO)
void dsp_speaker(char state);
/*
* Common code for the midi and pcm functions

View File

@ -60,7 +60,8 @@ static int my_dev;
static int reset_uart6850(void);
static void (*midi_input_intr) (int dev, u_char data);
static void poll_uart6850(u_long dummy);
static void poll_uart6850(void *dummy);
static sound_os_info *uart6850_osp;
@ -97,7 +98,7 @@ m6850intr(int irq)
*/
static void
poll_uart6850(u_long dummy)
poll_uart6850(void * dummy)
{
u_long flags;
@ -110,7 +111,7 @@ poll_uart6850(u_long dummy)
uart6850_input_loop();
timeout((timeout_func_t) poll_uart6850, 0, 1);; /* Come back later */
timeout( poll_uart6850, 0, 1); /* Come back later */
splx(flags);
}