diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-07-03 13:31:48 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-07-03 13:31:48 +0000 |
commit | 46590b9967cb72b9ce6b59bd8b861d403a734d29 (patch) | |
tree | a608441d6843e3da006307b9b105e9616d564f3f /sys/dev/sdmmc/sdmmc_scsi.c | |
parent | 222a1424fdd2d1ae7da53bc5d01b7cfa15164d3d (diff) |
Pass the expected 'scsibus_attach_args *' to scsibus_attach() via
config_found(), not a 'scsi_link *'. Part of matthew@'s 2010 work.
Diffstat (limited to 'sys/dev/sdmmc/sdmmc_scsi.c')
-rw-r--r-- | sys/dev/sdmmc/sdmmc_scsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sdmmc/sdmmc_scsi.c b/sys/dev/sdmmc/sdmmc_scsi.c index 3a45a35cfda..2259f7eab29 100644 --- a/sys/dev/sdmmc/sdmmc_scsi.c +++ b/sys/dev/sdmmc/sdmmc_scsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sdmmc_scsi.c,v 1.46 2020/02/20 16:26:01 krw Exp $ */ +/* $OpenBSD: sdmmc_scsi.c,v 1.47 2020/07/03 13:31:47 krw Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> @@ -146,7 +146,7 @@ sdmmc_scsi_attach(struct sdmmc_softc *sc) scbus->sc_link.pool = &scbus->sc_iopool; bzero(&saa, sizeof(saa)); - saa.scsi_link = &scbus->sc_link; + saa.saa.saa_sc_link = &scbus->sc_link; scbus->sc_child = config_found(&sc->sc_dev, &saa, scsiprint); if (scbus->sc_child == NULL) { |