summaryrefslogtreecommitdiffstats
path: root/freebsd
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-09-27 07:27:39 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-09-27 07:28:30 +0200
commit8645b5501739beaf8ff043d9c43330f1096e1bbc (patch)
tree8eed725b1dbcbf609769171b0a845a242d2dcabb /freebsd
parentfsl_sdhci.c: Port to RTEMS (diff)
downloadrtems-libbsd-8645b5501739beaf8ff043d9c43330f1096e1bbc.tar.bz2
fsl_sdhci.c: Fix missing include error
Update #3525.
Diffstat (limited to 'freebsd')
-rw-r--r--freebsd/sys/dev/sdhci/fsl_sdhci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/freebsd/sys/dev/sdhci/fsl_sdhci.c b/freebsd/sys/dev/sdhci/fsl_sdhci.c
index 7d334c1a..f5896000 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__