git: c99d887ca8c4 - main - dwmmc: Add bus_generic_add_child in the methods
Emmanuel Vadot
manu at FreeBSD.org
Fri May 21 16:04:26 UTC 2021
The branch main has been updated by manu:
URL: https://cgit.FreeBSD.org/src/commit/?id=c99d887ca8c420297d2db335ce56075eb12443aa
commit c99d887ca8c420297d2db335ce56075eb12443aa
Author: Emmanuel Vadot <manu at FreeBSD.org>
AuthorDate: 2021-05-16 15:07:50 +0000
Commit: Emmanuel Vadot <manu at FreeBSD.org>
CommitDate: 2021-05-21 15:40:14 +0000
dwmmc: Add bus_generic_add_child in the methods
Otherwise sdiob cannot add it's children.
Sponsored by: Diablotin Systems
Differential Revision: https://reviews.freebsd.org/D30295
---
sys/dev/mmc/host/dwmmc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys/dev/mmc/host/dwmmc.c b/sys/dev/mmc/host/dwmmc.c
index 145b7fe17f09..b0e13719928a 100644
--- a/sys/dev/mmc/host/dwmmc.c
+++ b/sys/dev/mmc/host/dwmmc.c
@@ -1558,6 +1558,8 @@ static device_method_t dwmmc_methods[] = {
DEVMETHOD(mmc_sim_get_tran_settings, dwmmc_get_tran_settings),
DEVMETHOD(mmc_sim_set_tran_settings, dwmmc_set_tran_settings),
DEVMETHOD(mmc_sim_cam_request, dwmmc_cam_request),
+
+ DEVMETHOD(bus_add_child, bus_generic_add_child),
#endif
DEVMETHOD_END
More information about the dev-commits-src-main
mailing list