Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 May 2021 16:04:22 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: c99d887ca8c4 - main - dwmmc: Add bus_generic_add_child in the methods
Message-ID:  <202105211604.14LG4MqJ005221@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by manu:

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

commit c99d887ca8c420297d2db335ce56075eb12443aa
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-05-16 15:07:50 +0000
Commit:     Emmanuel Vadot <manu@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105211604.14LG4MqJ005221>