diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2007-05-30 03:46:04 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2007-05-30 03:46:04 +0000 |
commit | f1928b0cc9329c7248b314b5119332de191456b5 (patch) | |
tree | f50a6a93bf311733055fdfbff2a1c2ade8bbcd62 /sys/dev/fxp/if_fxp.c | |
parent | 4e5001c263180d0b5a41c3a19375e18d3a6fb408 (diff) |
Remove the volatile qualifier to apply to fxp_miibus_readreg().
Notes
Notes:
svn path=/head/; revision=170125
Diffstat (limited to 'sys/dev/fxp/if_fxp.c')
-rw-r--r-- | sys/dev/fxp/if_fxp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index 900b021546ad..a652fb64f5d5 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -249,7 +249,7 @@ static void fxp_ifmedia_sts(struct ifnet *ifp, static int fxp_serial_ifmedia_upd(struct ifnet *ifp); static void fxp_serial_ifmedia_sts(struct ifnet *ifp, struct ifmediareq *ifmr); -static volatile int fxp_miibus_readreg(device_t dev, int phy, int reg); +static int fxp_miibus_readreg(device_t dev, int phy, int reg); static void fxp_miibus_writereg(device_t dev, int phy, int reg, int value); static void fxp_load_ucode(struct fxp_softc *sc); @@ -2323,7 +2323,7 @@ fxp_add_rfabuf(struct fxp_softc *sc, struct fxp_rx *rxp) return (0); } -static volatile int +static int fxp_miibus_readreg(device_t dev, int phy, int reg) { struct fxp_softc *sc = device_get_softc(dev); |