Changeset 250a867f in rtems


Ignore:
Timestamp:
10/12/14 18:58:22 (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 5, master
Children:
e8db6d0
Parents:
d6d213b
git-author:
Joel Sherrill <joel.sherrill@…> (10/12/14 18:58:22)
git-committer:
Joel Sherrill <joel.sherrill@…> (10/13/14 15:33:28)
Message:

nios2/nios2_iss/clock/clock.c: Fix warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/nios2/nios2_iss/clock/clock.c

    rd6d213b r250a867f  
    2222  do { _old = (rtems_isr_entry)set_vector(_new, CLOCK_VECTOR, 1); } while(0)
    2323
    24 
    2524/*
    2625 * Turn off the clock
    2726 */
    2827#define Clock_driver_support_shutdown_hardware() \
    29   do { CLOCK_REGS->control = ALTERA_AVALON_TIMER_CONTROL_STOP_MSK; } while(0)
     28  do { \
     29    CLOCK_REGS->control = ALTERA_AVALON_TIMER_CONTROL_STOP_MSK; \
     30  } while (0)
    3031
    3132/*
    3233 * Set up the clock hardware
    3334 */
    34 void Clock_driver_support_initialize_hardware(void)
     35static void Clock_driver_support_initialize_hardware(void)
    3536{
    3637  uint32_t period;
Note: See TracChangeset for help on using the changeset viewer.