From 02c2d90f46ccecd39658689921e212d8dd15f796 Mon Sep 17 00:00:00 2001 From: imp Date: Fri, 1 Jul 2005 15:52:50 +0000 Subject: 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) --- sys/dev/ep/if_ep_pccard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/ep') 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; -- cgit v1.1