Changeset d791a39 in rtems


Ignore:
Timestamp:
Nov 7, 2011, 8:20:26 AM (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
47f56094
Parents:
6cb084d9
Message:

2011-11-07 Sebastian Huber <sebastian.huber@…>

  • console_private.h: Removed Console_Port_Minor declaration.
  • console.c: Define console_initialized as static.
Location:
c/src/lib/libbsp/shared
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/shared/ChangeLog

    r6cb084d9 rd791a39  
     12011-11-07      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * console_private.h: Removed Console_Port_Minor declaration.
     4        * console.c: Define console_initialized as static.
     5
    162011-11-06      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/shared/console.c

    r6cb084d9 rd791a39  
    3333console_data               *Console_Port_Data   = NULL;
    3434rtems_device_minor_number   Console_Port_Minor  = 0;
    35 bool                        console_initialized = false;
     35static bool                 console_initialized = false;
    3636
    3737/*
     
    7777   *  register devices.
    7878   */
    79   if ( console_initialized == true ) {
     79  if ( console_initialized ) {
    8080    printk( "Attempt to register console devices after driver initialized\n" );
    8181    rtems_fatal_error_occurred( 0xdead0001 );
  • c/src/lib/libbsp/shared/console_private.h

    r6cb084d9 rd791a39  
    2727#endif
    2828
    29 extern rtems_device_minor_number  Console_Port_Minor;
    3029extern rtems_device_minor_number  BSPPrintkPort;
    3130
Note: See TracChangeset for help on using the changeset viewer.