summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorplunky <plunky@NetBSD.org>2011-04-27 07:47:33 +0000
committerplunky <plunky@NetBSD.org>2011-04-27 07:47:33 +0000
commitaf44b9a0f869d1cb5083eb2c41e73bc19fb55ec7 (patch)
treefcf24b1e052cfe0f895bfe35c06a7b1c7b6a185a /sys/dev
parentd28b79a47e946a2c4daed78b95eb60ed5f1dc9a4 (diff)
drop 'external' inline here, to avoid C99 vs GNU differences
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/ad1848.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ic/ad1848.c b/sys/dev/ic/ad1848.c
index 0a945c65ffa..0f6e8fa9e0a 100644
--- a/sys/dev/ic/ad1848.c
+++ b/sys/dev/ic/ad1848.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ad1848.c,v 1.29 2008/04/28 20:23:48 martin Exp $ */
+/* $NetBSD: ad1848.c,v 1.30 2011/04/27 07:47:33 plunky Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -95,7 +95,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ad1848.c,v 1.29 2008/04/28 20:23:48 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ad1848.c,v 1.30 2011/04/27 07:47:33 plunky Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -216,7 +216,7 @@ ad1848_from_vol(mixer_ctrl_t *cp, struct ad1848_volume *vol)
}
-inline int
+int
ad_read(struct ad1848_softc *sc, int reg)
{
int x;
@@ -227,7 +227,7 @@ ad_read(struct ad1848_softc *sc, int reg)
return x;
}
-inline void
+void
ad_write(struct ad1848_softc *sc, int reg, int data)
{
@@ -241,7 +241,7 @@ ad_write(struct ad1848_softc *sc, int reg, int data)
* indirection through CS_XREG (I23).
*/
-inline int
+int
ad_xread(struct ad1848_softc *sc, int reg)
{
int x;
@@ -253,7 +253,7 @@ ad_xread(struct ad1848_softc *sc, int reg)
return x;
}
-inline void
+void
ad_xwrite(struct ad1848_softc *sc, int reg, int val)
{