diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-11-19 18:36:19 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-11-19 18:36:19 +0000 |
commit | f8eb256c65fe796edfbbb90ae32c5502ca585795 (patch) | |
tree | 90bfb3141076a93dd45b97c7da2903fd4ebd8507 /sys/dev/pcmcia/if_cnw.c | |
parent | c9e49ad98cb86122f4be405756296ca6ce04c29e (diff) |
Use queue.h macros instead of using the structure names directly.
Diffstat (limited to 'sys/dev/pcmcia/if_cnw.c')
-rw-r--r-- | sys/dev/pcmcia/if_cnw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pcmcia/if_cnw.c b/sys/dev/pcmcia/if_cnw.c index 54ff270197a..40d22dad3c0 100644 --- a/sys/dev/pcmcia/if_cnw.c +++ b/sys/dev/pcmcia/if_cnw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_cnw.c,v 1.11 2002/03/14 01:27:01 millert Exp $ */ +/* $OpenBSD: if_cnw.c,v 1.12 2002/11/19 18:36:18 jason Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. @@ -384,7 +384,7 @@ cnw_attach(parent, self, aux) /* Enable the card */ sc->sc_pf = pa->pf; - pcmcia_function_init(sc->sc_pf, sc->sc_pf->cfe_head.sqh_first); + pcmcia_function_init(sc->sc_pf, SIMPLEQ_FIRST(&sc->sc_pf->cfe_head)); if (pcmcia_function_enable(sc->sc_pf)) { printf(": function enable failed\n"); return; |