Changeset e8db6d0 in rtems


Ignore:
Timestamp:
Oct 12, 2014, 6:58:22 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
459ddfc0
Parents:
250a867f
git-author:
Joel Sherrill <joel.sherrill@…> (10/12/14 18:58:22)
git-committer:
Joel Sherrill <joel.sherrill@…> (10/13/14 15:33:29)
Message:

powerpc/shared/clock/p_clock.c: Fix warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/shared/clock/p_clock.c

    r250a867f re8db6d0  
    11/*
    22 *  Clock Tick interrupt conexion code.
    3  *
     3 */
     4
     5/*
    46 *  COPYRIGHT (c) 1989-1997.
    57 *  On-Line Applications Research Corporation (OAR).
     
    1921
    2022static rtems_irq_connect_data clockIrqData;
    21 static rtems_irq_connect_data clockIrqData = {BSP_DECREMENTER,
    22                                               clockIsr,
    23                                               NULL,
    24                                               (rtems_irq_enable)clockOn,
    25                                               (rtems_irq_disable)clockOff,
    26                                               (rtems_irq_is_enabled) clockIsOn};
    27 int BSP_disconnect_clock_handler (void)
     23static rtems_irq_connect_data clockIrqData = {
     24  BSP_DECREMENTER,
     25  clockIsr,
     26  NULL,
     27  (rtems_irq_enable)clockOn,
     28  (rtems_irq_disable)clockOff,
     29  (rtems_irq_is_enabled) clockIsOn
     30};
     31
     32int BSP_disconnect_clock_handler(void)
    2833{
    29   return BSP_remove_rtems_irq_handler (&clockIrqData);
     34  return BSP_remove_rtems_irq_handler(&clockIrqData);
    3035}
    3136
    32 int BSP_connect_clock_handler (void)
     37int BSP_connect_clock_handler(void)
    3338{
    3439  if ( ppc_cpu_is_bookE() )
    35         clockIrqData.hdl = clockIsrBookE;
     40    clockIrqData.hdl = clockIsrBookE;
    3641
    37   return BSP_install_rtems_irq_handler (&clockIrqData);
     42  return BSP_install_rtems_irq_handler(&clockIrqData);
    3843}
Note: See TracChangeset for help on using the changeset viewer.