1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-22 07:20:00 +00:00

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
This commit is contained in:
Emmanuel Vadot 2021-05-16 17:07:50 +02:00
parent 115e71a457
commit c99d887ca8

View File

@ -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