[PATCH 5/5] bsps: Use CONSOLE_DEVICE_NAME

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jun 20 10:06:12 UTC 2013


---
 c/src/lib/libbsp/shared/console.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/c/src/lib/libbsp/shared/console.c b/c/src/lib/libbsp/shared/console.c
index 9780bf4..ebc83e2 100644
--- a/c/src/lib/libbsp/shared/console.c
+++ b/c/src/lib/libbsp/shared/console.c
@@ -294,7 +294,7 @@ rtems_device_driver console_initialize(
       }
 
       if (minor == Console_Port_Minor) {
-        status = rtems_io_register_name( "dev/console", major, minor );
+        status = rtems_io_register_name( CONSOLE_DEVICE_NAME, major, minor );
         if (status != RTEMS_SUCCESSFUL) {
           bsp_generic_fatal( BSP_GENERIC_FATAL_CONSOLE_REGISTER_DEV_1 );
         }
-- 
1.7.7




More information about the devel mailing list