From 2302385ec3a02d811f40f479ad8dc3433dd16c9e Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 29 Nov 2009 16:42:41 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1360 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/AT91SAM7/mac_lld.c | 3 ++- os/hal/platforms/AT91SAM7/mii_lld.c | 6 +++--- os/hal/platforms/AT91SAM7/mii_lld.h | 2 -- os/hal/platforms/AT91SAM7/platform.mk | 1 + 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/os/hal/platforms/AT91SAM7/mac_lld.c b/os/hal/platforms/AT91SAM7/mac_lld.c index 0bc50e192..037502d94 100644 --- a/os/hal/platforms/AT91SAM7/mac_lld.c +++ b/os/hal/platforms/AT91SAM7/mac_lld.c @@ -27,7 +27,8 @@ #include #include "ch.h" -#include "mac.h" +#include "hal.h" +#include "mii.h" #if CH_HAL_USE_MAC || defined(__DOXYGEN__) diff --git a/os/hal/platforms/AT91SAM7/mii_lld.c b/os/hal/platforms/AT91SAM7/mii_lld.c index 3662979fb..b21a349eb 100644 --- a/os/hal/platforms/AT91SAM7/mii_lld.c +++ b/os/hal/platforms/AT91SAM7/mii_lld.c @@ -24,9 +24,9 @@ * @{ */ -#include -#include -#include +#include "ch.h" +#include "hal.h" +#include "mii.h" /** * @brief Low level MII driver initialization. diff --git a/os/hal/platforms/AT91SAM7/mii_lld.h b/os/hal/platforms/AT91SAM7/mii_lld.h index 0e2f4ca51..4e1bc4139 100644 --- a/os/hal/platforms/AT91SAM7/mii_lld.h +++ b/os/hal/platforms/AT91SAM7/mii_lld.h @@ -27,8 +27,6 @@ #ifndef _MII_LLD_H_ #define _MII_LLD_H_ -#include "board.h" - /*===========================================================================*/ /* Driver pre-compile time settings. */ /*===========================================================================*/ diff --git a/os/hal/platforms/AT91SAM7/platform.mk b/os/hal/platforms/AT91SAM7/platform.mk index 02304df9e..c3fc8c6fd 100644 --- a/os/hal/platforms/AT91SAM7/platform.mk +++ b/os/hal/platforms/AT91SAM7/platform.mk @@ -3,6 +3,7 @@ PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/AT91SAM7/hal_lld.c \ ${CHIBIOS}/os/hal/platforms/AT91SAM7/pal_lld.c \ ${CHIBIOS}/os/hal/platforms/AT91SAM7/serial_lld.c \ ${CHIBIOS}/os/hal/platforms/AT91SAM7/mac_lld.c \ + ${CHIBIOS}/os/hal/platforms/AT91SAM7/mii_lld.c \ ${CHIBIOS}/os/hal/platforms/AT91SAM7/at91lib/aic.c # Required include directories