diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-09-28 18:08:22 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-09-28 18:08:22 +0200 |
commit | b54bd9546e186ce98f47a6d0aa242340e2eac82b (patch) | |
tree | 030812afd5a5c1439eb2517f7368cb2df61f2a39 /freebsd/sys/dev/sdhci/fsl_sdhci.c | |
parent | Add PHY-driver for KSZ8091RNB with 50MHz. (diff) | |
download | rtems-libbsd-b54bd9546e186ce98f47a6d0aa242340e2eac82b.tar.bz2 |
fsl_sdhci.c: Fix missing include error
Update #3525.
Diffstat (limited to 'freebsd/sys/dev/sdhci/fsl_sdhci.c')
-rw-r--r-- | freebsd/sys/dev/sdhci/fsl_sdhci.c | 4 |
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 f5896000..84665b41 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> |