[PATCH v2 1/4] virtex4/startup/dummy_console.c: Use <rtems/bspIo.h> and <rtems/console.h> for many of the prototypes

Joel Sherrill joel at rtems.org
Wed Apr 26 20:42:39 UTC 2017


---
 .../libbsp/powerpc/virtex4/startup/dummy_console.c    | 19 ++-----------------
 1 file changed, 2 insertions(+), 17 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/virtex4/startup/dummy_console.c b/c/src/lib/libbsp/powerpc/virtex4/startup/dummy_console.c
index e62a9f0..6ff24b2 100644
--- a/c/src/lib/libbsp/powerpc/virtex4/startup/dummy_console.c
+++ b/c/src/lib/libbsp/powerpc/virtex4/startup/dummy_console.c
@@ -1,5 +1,7 @@
 #include <rtems.h>
 #include <rtems/libio.h>
+#include <rtems/bspIo.h>
+#include <rtems/console.h>
 
 #include <string.h>
 
@@ -10,23 +12,6 @@ ssize_t __bsp_memory_write(int minor, const char* buf, size_t len);
 rtems_device_driver console_initialize(rtems_device_major_number major,
                                        rtems_device_minor_number minor,
                                        void*                     arg);
-rtems_device_driver console_open(rtems_device_major_number major,
-                                 rtems_device_minor_number minor,
-                                 void*                     arg);
-rtems_device_driver console_close(rtems_device_major_number major,
-                                  rtems_device_minor_number minor,
-                                  void*                     arg);
-rtems_device_driver console_read(rtems_device_major_number major,
-                                 rtems_device_minor_number minor,
-                                 void*                     arg);
-rtems_device_driver console_write(rtems_device_major_number major,
-                                  rtems_device_minor_number minor,
-                                  void*                     arg);
-rtems_device_driver console_control(rtems_device_major_number major,
-                                    rtems_device_minor_number minor,
-                                    void*                     arg);
-
-void BSP_output_char(char ch);
 
 ssize_t __bsp_memory_write(int minor, const char* buf, size_t len)
 {
-- 
1.8.3.1



More information about the devel mailing list