Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jun 2009 08:10:52 +0000 (UTC)
From:      Ariff Abdullah <ariff@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r193694 - head/sys/dev/sound/macio
Message-ID:  <200906080810.n588AqXh020531@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ariff
Date: Mon Jun  8 08:10:52 2009
New Revision: 193694
URL: http://svn.freebsd.org/changeset/base/193694

Log:
  Fix powerpc build failure due to strict kobj signatures checking.

Modified:
  head/sys/dev/sound/macio/snapper.c
  head/sys/dev/sound/macio/tumbler.c

Modified: head/sys/dev/sound/macio/snapper.c
==============================================================================
--- head/sys/dev/sound/macio/snapper.c	Mon Jun  8 07:44:28 2009	(r193693)
+++ head/sys/dev/sound/macio/snapper.c	Mon Jun  8 08:10:52 2009	(r193694)
@@ -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

Modified: head/sys/dev/sound/macio/tumbler.c
==============================================================================
--- head/sys/dev/sound/macio/tumbler.c	Mon Jun  8 07:44:28 2009	(r193693)
+++ head/sys/dev/sound/macio/tumbler.c	Mon Jun  8 08:10:52 2009	(r193694)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906080810.n588AqXh020531>