[PATCH 08/19] libchip: Use public include path

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jan 4 10:57:57 UTC 2018


From: Chris Johns <chrisj at rtems.org>

Update #3254.
---
 c/src/libchip/ide/ata.c                | 2 +-
 c/src/libchip/ide/ata_util.c           | 3 +--
 c/src/libchip/network/cs8900.c         | 2 +-
 c/src/libchip/network/i82586.c         | 2 +-
 c/src/libchip/network/if_dc.c          | 2 +-
 c/src/libchip/network/if_fxp.c         | 2 +-
 c/src/libchip/serial/ns16550-context.c | 4 ++--
 c/src/libchip/serial/ns16550.c         | 4 ++--
 8 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/c/src/libchip/ide/ata.c b/c/src/libchip/ide/ata.c
index 73293b31eb..7bb3f6ec73 100644
--- a/c/src/libchip/ide/ata.c
+++ b/c/src/libchip/ide/ata.c
@@ -22,7 +22,7 @@
 #include <rtems/blkdev.h>
 #include <libchip/ide_ctrl_io.h>
 #include <libchip/ide_ctrl_cfg.h>
-#include "ata_internal.h"
+#include <libchip/ata_internal.h>
 #include <libchip/ata.h>
 
 #define ATA_DEBUG 0
diff --git a/c/src/libchip/ide/ata_util.c b/c/src/libchip/ide/ata_util.c
index 771ab7363f..68e0f0bbe5 100644
--- a/c/src/libchip/ide/ata_util.c
+++ b/c/src/libchip/ide/ata_util.c
@@ -9,13 +9,12 @@
  * http://www.rtems.org/license/LICENSE.
  */
 
-#include "ata_internal.h"
-
 #include <assert.h>
 #include <string.h>
 
 #include <libchip/ide_ctrl_io.h>
 #include <libchip/ide_ctrl_cfg.h>
+#include <libchip/ata_internal.h>
 
 /* ata_process_request_on_init_phase --
  *     Process the ATA request during system initialization. Request
diff --git a/c/src/libchip/network/cs8900.c b/c/src/libchip/network/cs8900.c
index 2552d77778..5391a9c72e 100644
--- a/c/src/libchip/network/cs8900.c
+++ b/c/src/libchip/network/cs8900.c
@@ -27,7 +27,7 @@
 #include <string.h>
 #include <stdio.h>
 
-#include "cs8900.h"
+#include <libchip/cs8900.h>
 
 /*
  * We expect to be able to read a complete packet into an mbuf.
diff --git a/c/src/libchip/network/i82586.c b/c/src/libchip/network/i82586.c
index 8cb8140d18..e25f6667fc 100644
--- a/c/src/libchip/network/i82586.c
+++ b/c/src/libchip/network/i82586.c
@@ -171,7 +171,7 @@ Mode of operation:
 #include <netinet/if_ether.h>
 
 #include "i82586reg.h"
-#include "i82586var.h"
+#include <libchip/i82586var.h>
 
 #if defined(ALIGNBYTES) && defined(ALIGN)
 /* FIXME: Redefine because some versions of 
diff --git a/c/src/libchip/network/if_dc.c b/c/src/libchip/network/if_dc.c
index 24f2fc15bc..1e138947a9 100644
--- a/c/src/libchip/network/if_dc.c
+++ b/c/src/libchip/network/if_dc.c
@@ -187,7 +187,7 @@
 #include <bsp/irq.h>
 
 
-#include "if_dcreg.h"
+#include <libchip/if_dcreg.h>
 
 
 #define DRIVER_PREFIX 	"tl"
diff --git a/c/src/libchip/network/if_fxp.c b/c/src/libchip/network/if_fxp.c
index 89df3ed6e3..bd04533bdb 100644
--- a/c/src/libchip/network/if_fxp.c
+++ b/c/src/libchip/network/if_fxp.c
@@ -92,7 +92,7 @@
 #include <net/if_types.h>
 
 #include "if_fxpreg.h"
-#include "if_fxpvar.h"
+#include <libchip/if_fxpvar.h>
 
 /*
  * some adaptation replacements for RTEMS
diff --git a/c/src/libchip/serial/ns16550-context.c b/c/src/libchip/serial/ns16550-context.c
index 3c419780ae..b42be96a26 100644
--- a/c/src/libchip/serial/ns16550-context.c
+++ b/c/src/libchip/serial/ns16550-context.c
@@ -36,8 +36,8 @@
 
 #include <bsp.h>
 
-#include "ns16550.h"
-#include "ns16550_p.h"
+#include <libchip/ns16550.h>
+#include <libchip/ns16550_p.h>
 
 #if defined(BSP_FEATURE_IRQ_EXTENSION)
   #include <bsp/irq.h>
diff --git a/c/src/libchip/serial/ns16550.c b/c/src/libchip/serial/ns16550.c
index e6c192a712..b1e5892c15 100644
--- a/c/src/libchip/serial/ns16550.c
+++ b/c/src/libchip/serial/ns16550.c
@@ -43,8 +43,8 @@
 
 #include <bsp.h>
 
-#include "ns16550_p.h"
-#include "ns16550.h"
+#include <libchip/ns16550_p.h>
+#include <libchip/ns16550.h>
 
 #if defined(BSP_FEATURE_IRQ_EXTENSION)
   #include <bsp/irq.h>
-- 
2.12.3




More information about the devel mailing list