diff options
author | matk <matk@FreeBSD.org> | 2004-01-20 03:58:57 +0000 |
---|---|---|
committer | matk <matk@FreeBSD.org> | 2004-01-20 03:58:57 +0000 |
commit | ebfd4faca3b4486d6e438fc39dacd968ecf9a8cc (patch) | |
tree | eb0f190890fc8154dc34ccf943d093f9426e4057 /sys/dev/sound/pcm/dsp.h | |
parent | 1bf3c3e6434fdf234bfa5471a146508c48e6f7f4 (diff) | |
download | FreeBSD-src-ebfd4faca3b4486d6e438fc39dacd968ecf9a8cc.zip FreeBSD-src-ebfd4faca3b4486d6e438fc39dacd968ecf9a8cc.tar.gz |
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)
Diffstat (limited to 'sys/dev/sound/pcm/dsp.h')
-rw-r--r-- | sys/dev/sound/pcm/dsp.h | 5 |
1 files changed, 1 insertions, 4 deletions
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; |