mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
minor code clean up to sb_dsp.c and fix compile error with uart6850.c
This commit is contained in:
parent
132502aa4d
commit
f8f6afaf7c
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user