From ebfd4faca3b4486d6e438fc39dacd968ecf9a8cc Mon Sep 17 00:00:00 2001 From: matk Date: Tue, 20 Jan 2004 03:58:57 +0000 Subject: Fix a panic when kldloading a sound driver. Do this by replacing the link-list of dev_t's with named variables. Remove used code. Approved by: tanimura (mentor) --- sys/dev/sound/pcm/dsp.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sys/dev/sound/pcm/dsp.h') diff --git a/sys/dev/sound/pcm/dsp.h b/sys/dev/sound/pcm/dsp.h index 5e92d20..0a42e74 100644 --- a/sys/dev/sound/pcm/dsp.h +++ b/sys/dev/sound/pcm/dsp.h @@ -26,7 +26,4 @@ * $FreeBSD$ */ -int dsp_register(int unit, int channel); -int dsp_registerrec(int unit, int channel); -int dsp_unregister(int unit, int channel); -int dsp_unregisterrec(int unit, int channel); +extern struct cdevsw dsp_cdevsw; -- cgit v1.1