summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-01-14 07:53:00 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-01-14 07:53:00 +0100
commit6042fdb7dd67d6261f433fb187b2b5bd70c876d4 (patch)
treecaf33b09796c93485ec665c5fd9a056cad91aa8c
parent77c5ddd4967d418855fb5251b3f16af4010717f3 (diff)
downloadrtems-6042fdb7dd67d6261f433fb187b2b5bd70c876d4.tar.bz2
bsp/mcf5206elite: Remove <i2c.h> inlude in <bsp.h>
This prevents a compile-time error in libtests/i2c01.
-rw-r--r--c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h2
-rw-r--r--c/src/lib/libbsp/m68k/mcf5206elite/tod/todcfg.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h b/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h
index 6c4dd9f7cb..df45a5384b 100644
--- a/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h
@@ -125,8 +125,6 @@
#include <rtems/rtc.h>
#include <bsp/default-initial-extension.h>
-#include "i2c.h"
-
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/tod/todcfg.c b/c/src/lib/libbsp/m68k/mcf5206elite/tod/todcfg.c
index 6c43caf50c..548f3fa30b 100644
--- a/c/src/lib/libbsp/m68k/mcf5206elite/tod/todcfg.c
+++ b/c/src/lib/libbsp/m68k/mcf5206elite/tod/todcfg.c
@@ -11,7 +11,7 @@
* http://www.rtems.org/license/LICENSE.
*/
-#include <bsp.h>
+#include <i2c.h>
#include <libchip/rtc.h>
#include <ds1307.h>