diff options
author | stefanf <stefanf@FreeBSD.org> | 2004-07-04 16:11:03 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2004-07-04 16:11:03 +0000 |
commit | 9dea8aeba1c4f733fc95d1dfd11cfc8d3092a654 (patch) | |
tree | 0e3fe3a61275cb24fb693e8710ebc6420adf5306 /sys/dev/hifn/hifn7751.c | |
parent | c8bc9c77afa1fbbf704376606a236020afdfba8e (diff) | |
download | FreeBSD-src-9dea8aeba1c4f733fc95d1dfd11cfc8d3092a654.zip FreeBSD-src-9dea8aeba1c4f733fc95d1dfd11cfc8d3092a654.tar.gz |
Consistently use __inline instead of __inline__ as the former is an empty macro
in <sys/cdefs.h> for compilers without support for inline.
Diffstat (limited to 'sys/dev/hifn/hifn7751.c')
-rw-r--r-- | sys/dev/hifn/hifn7751.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/hifn/hifn7751.c b/sys/dev/hifn/hifn7751.c index 4116453..c2b5fc9 100644 --- a/sys/dev/hifn/hifn7751.c +++ b/sys/dev/hifn/hifn7751.c @@ -151,7 +151,7 @@ static void hifn_alloc_slot(struct hifn_softc *, int *, int *, int *, int *); static void hifn_write_reg_0(struct hifn_softc *, bus_size_t, u_int32_t); static void hifn_write_reg_1(struct hifn_softc *, bus_size_t, u_int32_t); -static __inline__ u_int32_t +static __inline u_int32_t READ_REG_0(struct hifn_softc *sc, bus_size_t reg) { u_int32_t v = bus_space_read_4(sc->sc_st0, sc->sc_sh0, reg); @@ -160,7 +160,7 @@ READ_REG_0(struct hifn_softc *sc, bus_size_t reg) } #define WRITE_REG_0(sc, reg, val) hifn_write_reg_0(sc, reg, val) -static __inline__ u_int32_t +static __inline u_int32_t READ_REG_1(struct hifn_softc *sc, bus_size_t reg) { u_int32_t v = bus_space_read_4(sc->sc_st1, sc->sc_sh1, reg); |