[PATCH 05/19] bsp/pc386: Use public include path

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


From: Chris Johns <chrisj at rtems.org>

Update #3254.
---
 c/src/lib/libbsp/i386/pc386/console/conscfg.c             | 2 +-
 c/src/lib/libbsp/i386/pc386/console/console_control.c     | 2 +-
 c/src/lib/libbsp/i386/pc386/console/ps2_mouse.c           | 2 +-
 c/src/lib/libbsp/i386/pc386/console/serial_mouse_config.c | 2 +-
 c/src/lib/libbsp/i386/pc386/console/vgacons.c             | 2 +-
 c/src/lib/libbsp/i386/shared/comm/tty_drv.c               | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/c/src/lib/libbsp/i386/pc386/console/conscfg.c b/c/src/lib/libbsp/i386/pc386/console/conscfg.c
index 97eb1b8cbb..d320031418 100644
--- a/c/src/lib/libbsp/i386/pc386/console/conscfg.c
+++ b/c/src/lib/libbsp/i386/pc386/console/conscfg.c
@@ -20,7 +20,7 @@
 #include <libchip/serial.h>
 #include <libchip/ns16550.h>
 #if BSP_ENABLE_VGA
-#include "vgacons.h"
+#include <rtems/vgacons.h>
 #endif
 #include <bsp/irq.h>
 #include "../../../shared/console_private.h"
diff --git a/c/src/lib/libbsp/i386/pc386/console/console_control.c b/c/src/lib/libbsp/i386/pc386/console/console_control.c
index e5e4bc18e8..344a53facb 100644
--- a/c/src/lib/libbsp/i386/pc386/console/console_control.c
+++ b/c/src/lib/libbsp/i386/pc386/console/console_control.c
@@ -28,7 +28,7 @@
 #include <libchip/serial.h>
 #include <rtems/mouse_parser.h>
 #if BSP_ENABLE_VGA
-#include "keyboard.h"
+#include <rtems/keyboard.h>
 #endif
 #include "../../../shared/console_private.h"
 
diff --git a/c/src/lib/libbsp/i386/pc386/console/ps2_mouse.c b/c/src/lib/libbsp/i386/pc386/console/ps2_mouse.c
index 911255259c..6a3f8551b4 100644
--- a/c/src/lib/libbsp/i386/pc386/console/ps2_mouse.c
+++ b/c/src/lib/libbsp/i386/pc386/console/ps2_mouse.c
@@ -29,8 +29,8 @@
 
 #define  INITIALIZE_MOUSE
 /* Some configuration switches are present in the include file... */
+#include <rtems/ps2_drv.h>
 #include "ps2_mouse.h"
-#include "ps2_drv.h"
 
 static void kbd_write_command_w(int data);
 #if 0
diff --git a/c/src/lib/libbsp/i386/pc386/console/serial_mouse_config.c b/c/src/lib/libbsp/i386/pc386/console/serial_mouse_config.c
index b2ebc5a520..a6d60196ed 100644
--- a/c/src/lib/libbsp/i386/pc386/console/serial_mouse_config.c
+++ b/c/src/lib/libbsp/i386/pc386/console/serial_mouse_config.c
@@ -14,7 +14,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 
-#include "libchip/serial.h"
+#include <libchip/serial.h>
 #include "../../../shared/console_private.h"
 
 /* select which serial port the mouse is connected to */
diff --git a/c/src/lib/libbsp/i386/pc386/console/vgacons.c b/c/src/lib/libbsp/i386/pc386/console/vgacons.c
index 01fe82e5ae..2886496e51 100644
--- a/c/src/lib/libbsp/i386/pc386/console/vgacons.c
+++ b/c/src/lib/libbsp/i386/pc386/console/vgacons.c
@@ -21,7 +21,7 @@
 #include <bsp.h>
 #include <crt.h>
 #include <assert.h>
-#include "keyboard.h"
+#include <rtems/keyboard.h>
 
 #define VGACONS_STATIC static
 
diff --git a/c/src/lib/libbsp/i386/shared/comm/tty_drv.c b/c/src/lib/libbsp/i386/shared/comm/tty_drv.c
index e15edbd15d..121820061a 100644
--- a/c/src/lib/libbsp/i386/shared/comm/tty_drv.c
+++ b/c/src/lib/libbsp/i386/shared/comm/tty_drv.c
@@ -29,7 +29,7 @@
 #include <termios.h>
 #include <uart.h>
 #include <libcpu/cpuModel.h>
-#include "tty_drv.h"
+#include <bsp/tty_drv.h>
 
 int BSP_poll_read(int);
 
-- 
2.12.3




More information about the devel mailing list