summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound
diff options
context:
space:
mode:
authorariff <ariff@FreeBSD.org>2009-06-08 08:10:52 +0000
committerariff <ariff@FreeBSD.org>2009-06-08 08:10:52 +0000
commitad9205923a9b3b858ab5be20137fd786a414242f (patch)
tree10aa470018da7fc33e3465a91e34198ba95ce045 /sys/dev/sound
parentcbfff4ddd711e5a5e3d94f464b49f07bfa02ca41 (diff)
downloadFreeBSD-src-ad9205923a9b3b858ab5be20137fd786a414242f.zip
FreeBSD-src-ad9205923a9b3b858ab5be20137fd786a414242f.tar.gz
Fix powerpc build failure due to strict kobj signatures checking.
Diffstat (limited to 'sys/dev/sound')
-rw-r--r--sys/dev/sound/macio/snapper.c6
-rw-r--r--sys/dev/sound/macio/tumbler.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/sound/macio/snapper.c b/sys/dev/sound/macio/snapper.c
index 6e9b6fe..d56d67b 100644
--- a/sys/dev/sound/macio/snapper.c
+++ b/sys/dev/sound/macio/snapper.c
@@ -96,7 +96,7 @@ struct snapper_softc
static int snapper_probe(device_t);
static int snapper_attach(device_t);
static int snapper_init(struct snd_mixer *m);
-static void snapper_uninit(struct snd_mixer *m);
+static int snapper_uninit(struct snd_mixer *m);
static int snapper_reinit(struct snd_mixer *m);
static int snapper_set(struct snd_mixer *m, unsigned dev, unsigned left,
unsigned right);
@@ -423,10 +423,10 @@ snapper_init(struct snd_mixer *m)
return (0);
}
-static void
+static int
snapper_uninit(struct snd_mixer *m)
{
- return;
+ return (0);
}
static int
diff --git a/sys/dev/sound/macio/tumbler.c b/sys/dev/sound/macio/tumbler.c
index 57b77bc..3045a2c 100644
--- a/sys/dev/sound/macio/tumbler.c
+++ b/sys/dev/sound/macio/tumbler.c
@@ -96,7 +96,7 @@ struct tumbler_softc
static int tumbler_probe(device_t);
static int tumbler_attach(device_t);
static int tumbler_init(struct snd_mixer *m);
-static void tumbler_uninit(struct snd_mixer *m);
+static int tumbler_uninit(struct snd_mixer *m);
static int tumbler_reinit(struct snd_mixer *m);
static int tumbler_set(struct snd_mixer *m, unsigned dev, unsigned left,
unsigned right);
@@ -369,10 +369,10 @@ tumbler_init(struct snd_mixer *m)
return (0);
}
-static void
+static int
tumbler_uninit(struct snd_mixer *m)
{
- return;
+ return (0);
}
static int
OpenPOWER on IntegriCloud