summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rt2661.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-28 18:08:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-28 18:08:08 +0000
commit352cdfe2491abe959844953ffe3c7312f26fe9ae (patch)
tree62fe634185c1f986555747cd50953f518b990785 /sys/dev/ic/rt2661.c
parenta2b31ae1475ab6cb0723237c381f0c25d252fccd (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/rt2661.c')
-rw-r--r--sys/dev/ic/rt2661.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/rt2661.c b/sys/dev/ic/rt2661.c
index 07996c05f0d..ca017d0892b 100644
--- a/sys/dev/ic/rt2661.c
+++ b/sys/dev/ic/rt2661.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rt2661.c,v 1.59 2010/08/27 17:08:00 jsg Exp $ */
+/* $OpenBSD: rt2661.c,v 1.60 2010/08/28 18:08:07 deraadt Exp $ */
/*-
* Copyright (c) 2006
@@ -156,7 +156,7 @@ int rt2661_prepare_beacon(struct rt2661_softc *);
#endif
void rt2661_enable_tsf_sync(struct rt2661_softc *);
int rt2661_get_rssi(struct rt2661_softc *, uint8_t);
-void rt2661_power(int, void *);
+void rt2661_powerhook(int, void *);
static const struct {
uint32_t reg;
@@ -247,7 +247,7 @@ rt2661_attach(void *xsc, int id)
else
rt2661_attachhook(sc);
- sc->sc_powerhook = powerhook_establish(rt2661_power, sc);
+ sc->sc_powerhook = powerhook_establish(rt2661_powerhook, sc);
if (sc->sc_powerhook == NULL) {
printf("%s: WARNING: unable to establish power hook\n",
sc->sc_dev.dv_xname);
@@ -2925,7 +2925,7 @@ rt2661_get_rssi(struct rt2661_softc *sc, uint8_t raw)
}
void
-rt2661_power(int why, void *arg)
+rt2661_powerhook(int why, void *arg)
{
struct rt2661_softc *sc = arg;
int s;