[rtems commit] bsps/bfin: Use public include path

Sebastian Huber sebh at rtems.org
Fri Jan 5 11:00:03 UTC 2018


Module:    rtems
Branch:    master
Commit:    9dd2fdb970c504ebceddffa24b665581bd95d8bf
Changeset: http://git.rtems.org/rtems/commit/?id=9dd2fdb970c504ebceddffa24b665581bd95d8bf

Author:    Chris Johns <chrisj at rtems.org>
Date:      Thu Jan  4 08:55:19 2018 +0100

bsps/bfin: Use public include path

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 db7dede..1b69046 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 5fd3b3d..7fe1eb1 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 28b4d86..bf3311b 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 5a34e93..5d7322b 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 e47a726..e1024e8 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 3241a3e..0d6e6ca 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 617c59d..18a522e 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




More information about the vc mailing list