From 6c6d3523cae410aa765f28f16680f9ca305c4934 Mon Sep 17 00:00:00 2001 From: Pieter De Gendt Date: Fri, 27 Jun 2025 11:03:43 +0200 Subject: [PATCH] drivers: sdhc: Place device APIs in linker sections Use DEVICE_API macro to place driver API instances into a linker section. Signed-off-by: Pieter De Gendt --- drivers/sdhc/xlnx_sdhc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/sdhc/xlnx_sdhc.c b/drivers/sdhc/xlnx_sdhc.c index 4cc15cf1cfc..ceb7e6e8d4f 100644 --- a/drivers/sdhc/xlnx_sdhc.c +++ b/drivers/sdhc/xlnx_sdhc.c @@ -1294,7 +1294,7 @@ static int xlnx_sdhc_init(const struct device *dev) return xlnx_sdhc_host_reset(dev); } -static const struct sdhc_driver_api xlnx_sdhc_api = { +static DEVICE_API(sdhc, xlnx_sdhc_api) = { .reset = xlnx_sdhc_host_reset, .request = xlnx_sdhc_request, .set_io = xlnx_sdhc_set_io,