git: a5a6fd462c6c - stable/13 - dwmmc: Add bus_generic_add_child in the methods

Emmanuel Vadot manu at FreeBSD.org
Thu Jul 22 17:26:12 UTC 2021


The branch stable/13 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=a5a6fd462c6cda8cd2e0a4015d67b1237c66c1b2

commit a5a6fd462c6cda8cd2e0a4015d67b1237c66c1b2
Author:     Emmanuel Vadot <manu at FreeBSD.org>
AuthorDate: 2021-05-16 15:07:50 +0000
Commit:     Emmanuel Vadot <manu at FreeBSD.org>
CommitDate: 2021-07-22 17:25:54 +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
    
    (cherry picked from commit c99d887ca8c420297d2db335ce56075eb12443aa)
---
 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 7a5994680c53..22cbf647cfa0 100644
--- a/sys/dev/mmc/host/dwmmc.c
+++ b/sys/dev/mmc/host/dwmmc.c
@@ -1557,6 +1557,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-all mailing list