[rtems-libbsd commit] at91_mci: Fix use of BOARD_MCK

Sebastian Huber sebh at rtems.org
Thu Apr 26 09:15:18 UTC 2018


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Apr 26 11:14:39 2018 +0200

at91_mci: Fix use of BOARD_MCK

---

 freebsd/sys/arm/at91/at91_mci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/freebsd/sys/arm/at91/at91_mci.c b/freebsd/sys/arm/at91/at91_mci.c
index 38c9e0b..44499bf 100644
--- a/freebsd/sys/arm/at91/at91_mci.c
+++ b/freebsd/sys/arm/at91/at91_mci.c
@@ -74,7 +74,7 @@ __FBSDID("$FreeBSD$");
 
 #define AT91_MCI_HAS_4WIRE 1
 
-uint32_t at91_master_clock = BOARD_MCK;
+#define at91_master_clock BOARD_MCK
 
 static sXdmad *pXdmad = &XDMAD_Instance;
 #endif /* __rtems__ */




More information about the vc mailing list