summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/lnc/if_lnc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/lnc/if_lnc.c b/sys/dev/lnc/if_lnc.c
index e1105eb..8477f58 100644
--- a/sys/dev/lnc/if_lnc.c
+++ b/sys/dev/lnc/if_lnc.c
@@ -154,14 +154,14 @@ static struct kern_devconf kdc_lnc = {
DC_CLS_NETIF
};
-inline void
+static inline void
write_csr(int unit, u_short port, u_short val)
{
outw(lnc_softc[unit].rap, port);
outw(lnc_softc[unit].rdp, val);
}
-inline u_short
+static inline u_short
read_csr(int unit, u_short port)
{
outw(lnc_softc[unit].rap, port);
OpenPOWER on IntegriCloud