aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mmc
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2025-12-09 20:03:03 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2025-12-09 20:03:03 +0000
commit01dcb4e6645f1a551e52763d58ba4375efbc5428 (patch)
treeaa9b4791f1e04caa469a5715eb8e952e6cbb823b /sys/dev/mmc
parent10568445de92d59379e1c59fcdc7566065332453 (diff)
Diffstat (limited to 'sys/dev/mmc')
-rw-r--r--sys/dev/mmc/mmc_fdt_helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mmc/mmc_fdt_helpers.c b/sys/dev/mmc/mmc_fdt_helpers.c
index 980785464a00..086b91f20ef3 100644
--- a/sys/dev/mmc/mmc_fdt_helpers.c
+++ b/sys/dev/mmc/mmc_fdt_helpers.c
@@ -212,7 +212,7 @@ cd_setup(struct mmc_helper *helper, phandle_t node)
/*
* Create an interrupt resource from the pin and set up the interrupt.
*/
- if ((helper->cd_ires = gpio_alloc_intr_resource(dev, &helper->cd_irid,
+ if ((helper->cd_ires = gpio_alloc_intr_resource(dev, helper->cd_irid,
RF_ACTIVE, helper->cd_pin, GPIO_INTR_EDGE_BOTH)) == NULL) {
if (bootverbose)
device_printf(dev, "Cannot allocate an IRQ for card "