diff options
author | imp <imp@FreeBSD.org> | 2005-07-01 15:52:50 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-07-01 15:52:50 +0000 |
commit | 02c2d90f46ccecd39658689921e212d8dd15f796 (patch) | |
tree | 0b8759593b5d40ca2489dd80607e5accc80abdda /sys/dev/ep | |
parent | bad5ea90fcf051fa5d42f7028e4329b3e022689c (diff) | |
download | FreeBSD-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.c | 2 |
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; |