aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sdhci/sdhci.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2021-06-28 23:22:35 +0000
committerWarner Losh <imp@FreeBSD.org>2021-06-28 23:22:35 +0000
commita72af82e3169fcacfedf9047120679300a4296f8 (patch)
treecb03c2bb469c0a930121090cc72e89bd47a93df1 /sys/dev/sdhci/sdhci.c
parent9f0febd6a44cab90659f2a1b98a8bb3f766e18fd (diff)
downloadsrc-a72af82e3169fcacfedf9047120679300a4296f8.tar.gz
src-a72af82e3169fcacfedf9047120679300a4296f8.zip
cam: Fix GENERIC-MMCCAM build
Fix forgotten argument and type error. MMCCAM isn't enabled by default, and I'd mistakenly thought it was, so these went undetected precommit. Sponsored by: Netflix
Diffstat (limited to 'sys/dev/sdhci/sdhci.c')
-rw-r--r--sys/dev/sdhci/sdhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sdhci/sdhci.c b/sys/dev/sdhci/sdhci.c
index 1ed521da8a70..bd30175e9f86 100644
--- a/sys/dev/sdhci/sdhci.c
+++ b/sys/dev/sdhci/sdhci.c
@@ -2484,7 +2484,7 @@ sdhci_start_slot(struct sdhci_slot *slot)
mtx_init(&slot->sim_mtx, "sdhcisim", NULL, MTX_DEF);
slot->sim = cam_sim_alloc(sdhci_cam_action, sdhci_cam_poll,
- "sdhci_slot", slot,
+ "sdhci_slot", slot, device_get_unit(slot->dev),
&slot->sim_mtx, 1, 1, slot->devq);
if (slot->sim == NULL) {