summaryrefslogtreecommitdiffstats
path: root/sys/dev/wi/if_wi_pccard.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2005-03-27 15:57:42 +0000
committerpjd <pjd@FreeBSD.org>2005-03-27 15:57:42 +0000
commiteb0b07ecf6707c82c03e2d91ca054402fd2462b2 (patch)
tree3eaa9bea43fe46c2083cab29b2bff4d42c6ca8f2 /sys/dev/wi/if_wi_pccard.c
parentf954f61ba104477a00093db0d0cefdb7b44be4e0 (diff)
downloadFreeBSD-src-eb0b07ecf6707c82c03e2d91ca054402fd2462b2.zip
FreeBSD-src-eb0b07ecf6707c82c03e2d91ca054402fd2462b2.tar.gz
Unbreak LINT.
Diffstat (limited to 'sys/dev/wi/if_wi_pccard.c')
-rw-r--r--sys/dev/wi/if_wi_pccard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/wi/if_wi_pccard.c b/sys/dev/wi/if_wi_pccard.c
index a8ec8e1..4ef635a 100644
--- a/sys/dev/wi/if_wi_pccard.c
+++ b/sys/dev/wi/if_wi_pccard.c
@@ -230,6 +230,9 @@ wi_pccard_attach(device_t dev)
if (vendor == PCMCIA_VENDOR_SYMBOL &&
product == PCMCIA_PRODUCT_SYMBOL_LA4100) {
#ifdef WI_SYMBOL_FIRMWARE
+ struct wi_softc *sc;
+
+ sc = device_get_softc(dev);
if (wi_symbol_load_firm(sc,
spectrum24t_primsym, sizeof(spectrum24t_primsym),
spectrum24t_secsym, sizeof(spectrum24t_secsym))) {
OpenPOWER on IntegriCloud