aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sound/pci/neomagic.c
diff options
context:
space:
mode:
authorCameron Grant <cg@FreeBSD.org>2000-09-17 23:46:32 +0000
committerCameron Grant <cg@FreeBSD.org>2000-09-17 23:46:32 +0000
commit7dfc9325486a557e30be763685a5ccd3b90f1dfe (patch)
treeeefacdba3bd5e88cb80a3bcd7a6f9a92b21da1af /sys/dev/sound/pci/neomagic.c
parent7d854d93afb88d6bbfd25d6e0b3ddbbc4dc98392 (diff)
downloadsrc-7dfc9325486a557e30be763685a5ccd3b90f1dfe.tar.gz
src-7dfc9325486a557e30be763685a5ccd3b90f1dfe.zip
fix warnings
Notes
Notes: svn path=/head/; revision=66012
Diffstat (limited to 'sys/dev/sound/pci/neomagic.c')
-rw-r--r--sys/dev/sound/pci/neomagic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/neomagic.c b/sys/dev/sound/pci/neomagic.c
index 7cfe838f86cd..686725321896 100644
--- a/sys/dev/sound/pci/neomagic.c
+++ b/sys/dev/sound/pci/neomagic.c
@@ -79,7 +79,6 @@ struct sc_info {
/* channel interface */
static void *nmchan_init(void *devinfo, snd_dbuf *b, pcm_channel *c, int dir);
static int nmchan_free(void *data);
-static int nmchan_setdir(void *data, int dir);
static int nmchan_setformat(void *data, u_int32_t format);
static int nmchan_setspeed(void *data, u_int32_t speed);
static int nmchan_setblocksize(void *data, u_int32_t blocksize);
@@ -705,6 +704,7 @@ static device_method_t nm_methods[] = {
/* Device interface */
DEVMETHOD(device_probe, nm_pci_probe),
DEVMETHOD(device_attach, nm_pci_attach),
+ DEVMETHOD(device_detach, nm_pci_detach),
DEVMETHOD(device_resume, nm_pci_resume),
{ 0, 0 }
};