Changeset fc22287 in rtems


Ignore:
Timestamp:
Oct 15, 2014, 7:24:06 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
6a93975
Parents:
4b86f61c
git-author:
Joel Sherrill <joel.sherrill@…> (10/15/14 19:24:06)
git-committer:
Joel Sherrill <joel.sherrill@…> (10/16/14 13:58:49)
Message:

libcpu/powerpc/ppc403/console/console405.c: Fix warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/ppc403/console/console405.c

    r4b86f61c rfc22287  
    11/*
    22 *  This file contains the PowerPC 405GP console IO package.
    3  *
     3 */
     4
     5/*
    46 *  Author:     Thomas Doerfler <td@imd.m.isar.de>
    57 *              IMD Ingenieurbuero fuer Microcomputertechnik
     
    191193}
    192194
    193 void
     195static void
    194196spiBaudSet(uint32_t   baudrate)
    195197{
     
    253255}
    254256
    255 
    256257static ssize_t
    257258spiPollWrite(int minor, const char *buf, size_t len)
     
    326327}
    327328
    328 
    329 /*
    330  *
     329/*
    331330 * deinit SPI
    332  *
    333  */
    334 void
     331 */
     332static void
    335333spiDeInit(void)
    336334{
     
    340338   */
    341339
    342 
    343340  /* set up baud rate to original state */
    344341  spiBaudSet(bsp_serial_rate);
    345342
    346343  port->IER = 0;
    347 
    348 }
    349 
    350 /*
    351  *
     344}
     345
     346/*
    352347 * init SPI
    353  *
    354  */
    355 rtems_status_code
     348 */
     349static rtems_status_code
    356350spiInitialize(void)
    357351{
     
    454448}
    455449
    456 
    457450/*
    458451 *  Open entry point
    459452 */
    460 
    461453rtems_device_driver console_open(
    462454  rtems_device_major_number major,
     
    502494 *  Close entry point
    503495 */
    504 
    505496rtems_device_driver console_close(
    506497  rtems_device_major_number major,
     
    515506 * read bytes from the serial port. We only have stdin.
    516507 */
    517 
    518508rtems_device_driver console_read(
    519509  rtems_device_major_number major,
     
    528518 * write bytes to the serial port. Stdout and stderr are the same.
    529519 */
    530 
    531520rtems_device_driver console_write(
    532521  rtems_device_major_number major,
     
    541530 *  IO Control entry point
    542531 */
    543 
    544532rtems_device_driver console_control(
    545533  rtems_device_major_number major,
Note: See TracChangeset for help on using the changeset viewer.