summaryrefslogtreecommitdiff
path: root/sys/dev/ic/oplvar.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-07-27 05:55:04 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-07-27 05:55:04 +0000
commit34aa0a61adcf1ff6404e30f1f422ba690b2c0a29 (patch)
tree2a6dc41bd48f6e6e41debddda9d6e65ea41ceb05 /sys/dev/ic/oplvar.h
parent463022a1f7e1d150df7527f395eb87e9c2dbc54a (diff)
Rework opl_find() so that it does not need to take a proto softc, shaves
more than 2.5KB of stack for its callers (and even more on 64 bit arches).
Diffstat (limited to 'sys/dev/ic/oplvar.h')
-rw-r--r--sys/dev/ic/oplvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/oplvar.h b/sys/dev/ic/oplvar.h
index 341778b16c2..32f350ae175 100644
--- a/sys/dev/ic/oplvar.h
+++ b/sys/dev/ic/oplvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: oplvar.h,v 1.3 2002/03/14 01:26:55 millert Exp $ */
+/* $OpenBSD: oplvar.h,v 1.4 2006/07/27 05:55:00 miod Exp $ */
/* $NetBSD: oplvar.h,v 1.3 1998/11/25 22:17:06 augustss Exp $ */
/*
@@ -88,5 +88,5 @@ struct opl_operators {
extern const struct opl_operators opl2_instrs[];
extern const struct opl_operators opl3_instrs[];
-int opl_find(struct opl_softc *);
+int opl_find(struct opl_attach_arg *);
void opl_attach(struct opl_softc *);