From d1b2133d032c01fd364b8558f7a5f466f82a87c1 Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Fri, 7 Aug 2015 08:57:58 +0000 Subject: [PATCH] Attach dwmmc to the ofwbus, som devicetrees place it here. Sponsored by: ABT Systems Ltd --- sys/dev/mmc/host/dwmmc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/mmc/host/dwmmc.c b/sys/dev/mmc/host/dwmmc.c index 6801d6cbe80f..162cd94f396b 100644 --- a/sys/dev/mmc/host/dwmmc.c +++ b/sys/dev/mmc/host/dwmmc.c @@ -1208,4 +1208,5 @@ static driver_t dwmmc_driver = { static devclass_t dwmmc_devclass; DRIVER_MODULE(dwmmc, simplebus, dwmmc_driver, dwmmc_devclass, 0, 0); +DRIVER_MODULE(dwmmc, ofwbus, dwmmc_driver, dwmmc_devclass, 0, 0);