diff options
Diffstat (limited to 'sys/dev/pccard/pccard_cis_quirks.c')
-rw-r--r-- | sys/dev/pccard/pccard_cis_quirks.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pccard/pccard_cis_quirks.c b/sys/dev/pccard/pccard_cis_quirks.c index 0219383..949a237 100644 --- a/sys/dev/pccard/pccard_cis_quirks.c +++ b/sys/dev/pccard/pccard_cis_quirks.c @@ -185,8 +185,7 @@ static int n_pccard_cis_quirks = void pccard_check_cis_quirks(device_t dev) { - struct pccard_softc *sc = (struct pccard_softc *) - device_get_softc(dev); + struct pccard_softc *sc = PCCARD_SOFTC(dev); int wiped = 0; int i, j; struct pccard_function *pf, *pf_next, *pf_last; |