mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
sdhci: stop using cam_sim_alloc_dev
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D30857
This commit is contained in:
parent
bd69852be1
commit
aeb04e88f5
1 changed files with 2 additions and 2 deletions
|
|
@ -2483,8 +2483,8 @@ sdhci_start_slot(struct sdhci_slot *slot)
|
|||
goto fail;
|
||||
|
||||
mtx_init(&slot->sim_mtx, "sdhcisim", NULL, MTX_DEF);
|
||||
slot->sim = cam_sim_alloc_dev(sdhci_cam_action, sdhci_cam_poll,
|
||||
"sdhci_slot", slot, slot->bus,
|
||||
slot->sim = cam_sim_alloc(sdhci_cam_action, sdhci_cam_poll,
|
||||
"sdhci_slot", slot,
|
||||
&slot->sim_mtx, 1, 1, slot->devq);
|
||||
|
||||
if (slot->sim == NULL) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue