[rtems-libbsd commit] fsl_sdhci.c: Fix missing include error

Sebastian Huber sebh at rtems.org
Thu Sep 27 05:28:46 UTC 2018


Module:    rtems-libbsd
Branch:    master
Commit:    8645b5501739beaf8ff043d9c43330f1096e1bbc
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=8645b5501739beaf8ff043d9c43330f1096e1bbc

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Sep 27 07:27:39 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 7d334c1..f589600 100644
--- a/freebsd/sys/dev/sdhci/fsl_sdhci.c
+++ b/freebsd/sys/dev/sdhci/fsl_sdhci.c
@@ -59,7 +59,11 @@ __FBSDID("$FreeBSD$");
 #ifdef __arm__
 #include <machine/intr.h>
 
+#ifndef __rtems__
 #include <arm/freescale/imx/imx_ccmvar.h>
+#else /* __rtems__ */
+uint32_t imx_ccm_sdhci_hz(void);
+#endif /* __rtems__ */
 #endif
 
 #ifdef __powerpc__



More information about the vc mailing list