diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-08-28 18:08:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-08-28 18:08:08 +0000 |
commit | 352cdfe2491abe959844953ffe3c7312f26fe9ae (patch) | |
tree | 62fe634185c1f986555747cd50953f518b990785 /sys/dev/ic/rt2560.c | |
parent | a2b31ae1475ab6cb0723237c381f0c25d252fccd (diff) |
rename the *_power functions to *_powerhook to indicate that we've been
here already for the activate/powerhook cleanup
Diffstat (limited to 'sys/dev/ic/rt2560.c')
-rw-r--r-- | sys/dev/ic/rt2560.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/rt2560.c b/sys/dev/ic/rt2560.c index eaa0c1b1424..5464bd2d7da 100644 --- a/sys/dev/ic/rt2560.c +++ b/sys/dev/ic/rt2560.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2560.c,v 1.53 2010/08/27 17:08:00 jsg Exp $ */ +/* $OpenBSD: rt2560.c,v 1.54 2010/08/28 18:08:07 deraadt Exp $ */ /*- * Copyright (c) 2005, 2006 @@ -148,7 +148,7 @@ void rt2560_read_eeprom(struct rt2560_softc *); int rt2560_bbp_init(struct rt2560_softc *); int rt2560_init(struct ifnet *); void rt2560_stop(struct ifnet *, int); -void rt2560_power(int, void *); +void rt2560_powerhook(int, void *); static const struct { uint32_t reg; @@ -295,7 +295,7 @@ rt2560_attach(void *xsc, int id) sc->sc_txtap.wt_ihdr.it_present = htole32(RT2560_TX_RADIOTAP_PRESENT); #endif - sc->sc_powerhook = powerhook_establish(rt2560_power, sc); + sc->sc_powerhook = powerhook_establish(rt2560_powerhook, sc); if (sc->sc_powerhook == NULL) { printf("%s: WARNING: unable to establish power hook\n", sc->sc_dev.dv_xname); @@ -2730,7 +2730,7 @@ rt2560_stop(struct ifnet *ifp, int disable) } void -rt2560_power(int why, void *arg) +rt2560_powerhook(int why, void *arg) { struct rt2560_softc *sc = arg; int s; |