summaryrefslogtreecommitdiffstats
path: root/sys/dev/ep
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-07-01 15:52:50 +0000
committerimp <imp@FreeBSD.org>2005-07-01 15:52:50 +0000
commit02c2d90f46ccecd39658689921e212d8dd15f796 (patch)
tree0b8759593b5d40ca2489dd80607e5accc80abdda /sys/dev/ep
parentbad5ea90fcf051fa5d42f7028e4329b3e022689c (diff)
downloadFreeBSD-src-02c2d90f46ccecd39658689921e212d8dd15f796.zip
FreeBSD-src-02c2d90f46ccecd39658689921e212d8dd15f796.tar.gz
Upon relection, we shouldn't allow the tuple structs to be modified by
the functor, so make it a const pointer, and chase down the resulting const-poisoning. Approved by: re (scottl)
Diffstat (limited to 'sys/dev/ep')
-rw-r--r--sys/dev/ep/if_ep_pccard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ep/if_ep_pccard.c b/sys/dev/ep/if_ep_pccard.c
index 4707fc5..b7fdcab 100644
--- a/sys/dev/ep/if_ep_pccard.c
+++ b/sys/dev/ep/if_ep_pccard.c
@@ -112,7 +112,7 @@ ep_pccard_probe(device_t dev)
}
static int
-ep_pccard_mac(struct pccard_tuple *tuple, void *argp)
+ep_pccard_mac(const struct pccard_tuple *tuple, void *argp)
{
uint8_t *enaddr = argp;
int i;
OpenPOWER on IntegriCloud