[rtems-libbsd commit] fsl_sdhci.c: Fix missing include error
Sebastian Huber
sebh at rtems.org
Fri Sep 28 16:08:34 UTC 2018
Module: rtems-libbsd
Branch: master
Commit: b54bd9546e186ce98f47a6d0aa242340e2eac82b
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=b54bd9546e186ce98f47a6d0aa242340e2eac82b
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Sep 28 18:08:22 2018 +0200
fsl_sdhci.c: Fix missing include error
Update #3525.
---
freebsd/sys/dev/sdhci/fsl_sdhci.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/freebsd/sys/dev/sdhci/fsl_sdhci.c b/freebsd/sys/dev/sdhci/fsl_sdhci.c
index f589600..84665b4 100644
--- a/freebsd/sys/dev/sdhci/fsl_sdhci.c
+++ b/freebsd/sys/dev/sdhci/fsl_sdhci.c
@@ -67,7 +67,11 @@ uint32_t imx_ccm_sdhci_hz(void);
#endif
#ifdef __powerpc__
+#ifndef __rtems__
#include <powerpc/mpc85xx/mpc85xx.h>
+#else /* __rtems__ */
+uint32_t mpc85xx_get_system_clock(void);
+#endif /* __rtems__ */
#endif
#include <dev/gpio/gpiobusvar.h>
More information about the vc
mailing list