[PATCH 11/19] bsps/bfin: Use public include path
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Jan 4 10:58:00 UTC 2018
From: Chris Johns <chrisj at rtems.org>
Update #3254.
---
c/src/lib/libcpu/bfin/bf52x/interrupt/interrupt.c | 2 +-
c/src/lib/libcpu/bfin/interrupt/interrupt.c | 2 +-
c/src/lib/libcpu/bfin/mmu/mmu.c | 2 +-
c/src/lib/libcpu/bfin/network/ethernet.c | 2 +-
c/src/lib/libcpu/bfin/serial/spi.c | 2 +-
c/src/lib/libcpu/bfin/serial/twi.c | 2 +-
c/src/lib/libcpu/bfin/serial/uart.c | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/c/src/lib/libcpu/bfin/bf52x/interrupt/interrupt.c b/c/src/lib/libcpu/bfin/bf52x/interrupt/interrupt.c
index db7deded33..1b69046453 100644
--- a/c/src/lib/libcpu/bfin/bf52x/interrupt/interrupt.c
+++ b/c/src/lib/libcpu/bfin/bf52x/interrupt/interrupt.c
@@ -28,7 +28,7 @@
#include <libcpu/cecRegs.h>
#include <libcpu/sicRegs.h>
#include <string.h>
-#include "interrupt.h"
+#include <bsp/interrupt.h>
#define SIC_IAR_COUNT_SET0 4
#define SIC_IAR_BASE_ADDRESS_0 0xFFC00150
diff --git a/c/src/lib/libcpu/bfin/interrupt/interrupt.c b/c/src/lib/libcpu/bfin/interrupt/interrupt.c
index 5fd3b3d72f..7fe1eb19f7 100644
--- a/c/src/lib/libcpu/bfin/interrupt/interrupt.c
+++ b/c/src/lib/libcpu/bfin/interrupt/interrupt.c
@@ -16,7 +16,7 @@
#include <libcpu/cecRegs.h>
#include <libcpu/sicRegs.h>
#include <string.h>
-#include "interrupt.h"
+#include <libcpu/interrupt.h>
static struct {
diff --git a/c/src/lib/libcpu/bfin/mmu/mmu.c b/c/src/lib/libcpu/bfin/mmu/mmu.c
index 28b4d86779..bf3311b5b4 100644
--- a/c/src/lib/libcpu/bfin/mmu/mmu.c
+++ b/c/src/lib/libcpu/bfin/mmu/mmu.c
@@ -12,7 +12,7 @@
#include <rtems.h>
#include <libcpu/memoryRegs.h>
-#include "mmu.h"
+#include <libcpu/mmu.h>
/* NOTE: see notes in mmu.h */
diff --git a/c/src/lib/libcpu/bfin/network/ethernet.c b/c/src/lib/libcpu/bfin/network/ethernet.c
index 5a34e93876..5d7322ba0b 100644
--- a/c/src/lib/libcpu/bfin/network/ethernet.c
+++ b/c/src/lib/libcpu/bfin/network/ethernet.c
@@ -34,7 +34,7 @@
#include <libcpu/dmaRegs.h>
#include <libcpu/ethernetRegs.h>
-#include "ethernet.h"
+#include <libcpu/ethernet.h>
#if (BFIN_ETHERNET_DEBUG & BFIN_ETHERNET_DEBUG_DUMP_MBUFS)
#include <rtems/dumpbuf.h>
diff --git a/c/src/lib/libcpu/bfin/serial/spi.c b/c/src/lib/libcpu/bfin/serial/spi.c
index e47a72629d..e1024e8d10 100644
--- a/c/src/lib/libcpu/bfin/serial/spi.c
+++ b/c/src/lib/libcpu/bfin/serial/spi.c
@@ -15,7 +15,7 @@
#include <errno.h>
#include <rtems/libi2c.h>
#include <libcpu/spiRegs.h>
-#include "spi.h"
+#include <libcpu/spi.h>
#ifndef BFIN_REG16
diff --git a/c/src/lib/libcpu/bfin/serial/twi.c b/c/src/lib/libcpu/bfin/serial/twi.c
index 3241a3eb30..0d6e6ca0b1 100644
--- a/c/src/lib/libcpu/bfin/serial/twi.c
+++ b/c/src/lib/libcpu/bfin/serial/twi.c
@@ -15,7 +15,7 @@
#include <rtems.h>
#include <libcpu/twiRegs.h>
-#include "twi.h"
+#include <libcpu/twi.h>
#ifndef N_BFIN_TWI
diff --git a/c/src/lib/libcpu/bfin/serial/uart.c b/c/src/lib/libcpu/bfin/serial/uart.c
index 617c59dab3..18a522e121 100644
--- a/c/src/lib/libcpu/bfin/serial/uart.c
+++ b/c/src/lib/libcpu/bfin/serial/uart.c
@@ -18,7 +18,7 @@
#include <libcpu/uartRegs.h>
#include <libcpu/dmaRegs.h>
-#include "uart.h"
+#include <libcpu/uart.h>
/* flags */
#define BFIN_UART_XMIT_BUSY 0x01
--
2.12.3
More information about the devel
mailing list