summaryrefslogtreecommitdiffstats
path: root/sys/dev/pccard/pccard_cis.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pccard/pccard_cis.c')
-rw-r--r--sys/dev/pccard/pccard_cis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pccard/pccard_cis.c b/sys/dev/pccard/pccard_cis.c
index 7383db2..dca15db 100644
--- a/sys/dev/pccard/pccard_cis.c
+++ b/sys/dev/pccard/pccard_cis.c
@@ -427,7 +427,7 @@ done:
void
pccard_print_cis(device_t dev)
{
- struct pccard_softc *sc = (struct pccard_softc *) device_get_softc(dev);
+ struct pccard_softc *sc = PCCARD_SOFTC(dev);
struct pccard_card *card = &sc->card;
struct pccard_function *pf;
struct pccard_config_entry *cfe;
OpenPOWER on IntegriCloud