Changeset c9db7f9 in rtems


Ignore:
Timestamp:
Jun 18, 2013, 3:47:41 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
f97f46ce
Parents:
a4bc725e
git-author:
Sebastian Huber <sebastian.huber@…> (06/18/13 15:47:41)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/21/13 08:26:10)
Message:

bsps: Use CONSOLE_DEVICE_NAME

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/shared/console.c

    ra4bc725e rc9db7f9  
    1919#include <bsp/generic-fatal.h>
    2020#include <rtems/libio.h>
     21#include <rtems/console.h>
    2122#include <stdlib.h>
    2223#include <assert.h>
     
    295296
    296297      if (minor == Console_Port_Minor) {
    297         status = rtems_io_register_name( "dev/console", major, minor );
     298        status = rtems_io_register_name( CONSOLE_DEVICE_NAME, major, minor );
    298299        if (status != RTEMS_SUCCESSFUL) {
    299300          bsp_generic_fatal( BSP_GENERIC_FATAL_CONSOLE_REGISTER_DEV_1 );
Note: See TracChangeset for help on using the changeset viewer.