Changeset a2ba004 in rtems


Ignore:
Timestamp:
Mar 16, 2015, 6:31:04 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
46d3c6d8
Parents:
674f8b1b
Message:

bsp/mbx8xx: Fix warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mbx8xx/console/console.c

    r674f8b1b ra2ba004  
    8383#include <bsp/mbx.h>
    8484
    85 static int _EPPCBug_pollRead( int minor );
    86 static ssize_t _EPPCBug_pollWrite( int minor, const char *buf, size_t len );
    8785static void _BSP_output_char( char c );
    88 static rtems_status_code do_poll_read( rtems_device_major_number major, rtems_device_minor_number minor, void * arg);
    89 static rtems_status_code do_poll_write( rtems_device_major_number major, rtems_device_minor_number minor, void * arg);
    9086
    9187static void _BSP_null_char( char c ) {return;}
     
    9894extern struct rtems_termios_tty *ttyp[];
    9995
     96#if UARTS_IO_MODE == 2 || NVRAM_CONFIGURE == 1
    10097/*
    10198 * _EPPCBug_pollRead
     
    201198  return retval;
    202199}
    203 
     200#endif /* UARTS_IO_MODE == 2 || NVRAM_CONFIGURE == 1 */
     201
     202#if PRINTK_IO_MODE == 2 || UARTS_IO_MODE == 2 || NVRAM_CONFIGURE == 1
    204203/*
    205204 * _EPPCBug_pollWrite
     
    321320  return -1;
    322321}
    323 
     322#endif /* PRINTK_IO_MODE == 2 || UARTS_IO_MODE == 2 || NVRAM_CONFIGURE == 1 */
     323
     324#if UARTS_USE_TERMIOS != 1 || NVRAM_CONFIGURE == 1
    324325/*
    325326 *  do_poll_read
     
    454455#endif
    455456}
     457#endif /* UARTS_USE_TERMIOS != 1 || NVRAM_CONFIGURE == 1 */
    456458
    457459/*
Note: See TracChangeset for help on using the changeset viewer.