summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/gen5200/tod
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-19 15:28:33 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-19 15:29:31 +0100
commitd898f6e18ec2e84977edb5024052ecca64cf39f3 (patch)
tree5a76cc86e3576e241bfa4c27a886a26cf53ebc1d /c/src/lib/libbsp/powerpc/gen5200/tod
parentsmp03: Use floating-point tasks (diff)
downloadrtems-d898f6e18ec2e84977edb5024052ecca64cf39f3.tar.bz2
bsp/gen5200: Fix i2c.h and i2cdrv.h installation
Install these files only as <bsp/i2c.h> and <bsp/i2cdrv.h>. Update #3254.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/gen5200/tod')
-rw-r--r--c/src/lib/libbsp/powerpc/gen5200/tod/pcf8563.c2
-rw-r--r--c/src/lib/libbsp/powerpc/gen5200/tod/todcfg.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen5200/tod/pcf8563.c b/c/src/lib/libbsp/powerpc/gen5200/tod/pcf8563.c
index e15d47adf4..eb3d758f80 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/tod/pcf8563.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/tod/pcf8563.c
@@ -42,10 +42,10 @@
#include <rtems.h>
#include <bsp/fatal.h>
+#include <bsp/i2c.h>
#include <libchip/rtc.h>
#include <string.h>
#include "../tod/pcf8563.h"
-#include "../include/i2c.h"
/* Convert from/to Binary-Coded Decimal representation */
#define From_BCD( _x ) ((((_x) >> 4) * 10) + ((_x) & 0x0F))
diff --git a/c/src/lib/libbsp/powerpc/gen5200/tod/todcfg.c b/c/src/lib/libbsp/powerpc/gen5200/tod/todcfg.c
index 2120fa3362..6db222b7f0 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/tod/todcfg.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/tod/todcfg.c
@@ -33,7 +33,7 @@
*/
#include <bsp.h>
-#include "../include/i2c.h"
+#include <bsp/i2c.h>
#include <libchip/rtc.h>
#include "../tod/pcf8563.h"