summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2015-12-14 01:09:25 +0000
committerian <ian@FreeBSD.org>2015-12-14 01:09:25 +0000
commit3ddff54265b784c252c5f1c2171afffb9ab610ed (patch)
tree210c4cc8d75422783ed6b32ac4cdd87974774f79 /sys/powerpc
parenta3c1f4b0eb9f220318c79476b1fcf38beadf35da (diff)
downloadFreeBSD-src-3ddff54265b784c252c5f1c2171afffb9ab610ed.zip
FreeBSD-src-3ddff54265b784c252c5f1c2171afffb9ab610ed.tar.gz
Move the DRIVER_MODULE() statements that declare mmc(4) to be a child of
the various bridge drivers out of dev/mmc.c and into the bridge drivers. Requested by: jhb (almost two years ago; better late than never)
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/mpc85xx/fsl_sdhc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/powerpc/mpc85xx/fsl_sdhc.c b/sys/powerpc/mpc85xx/fsl_sdhc.c
index 4f9ef87..174a8e6 100644
--- a/sys/powerpc/mpc85xx/fsl_sdhc.c
+++ b/sys/powerpc/mpc85xx/fsl_sdhc.c
@@ -125,6 +125,7 @@ static driver_t fsl_sdhc_driver = {
static devclass_t fsl_sdhc_devclass;
DRIVER_MODULE(sdhci_fsl, simplebus, fsl_sdhc_driver, fsl_sdhc_devclass, 0, 0);
+DRIVER_MODULE(mmc, sdhci_fsl, mmc_driver, mmc_devclass, NULL, NULL);
/*****************************************************************************
OpenPOWER on IntegriCloud