Changeset 126a454 in rtems


Ignore:
Timestamp:
Aug 22, 2018, 4:57:57 PM (11 months ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
60702ab
Parents:
c80f5afc
git-author:
Joel Sherrill <joel@…> (08/22/18 16:57:57)
git-committer:
Joel Sherrill <joel@…> (08/29/18 17:52:09)
Message:

gen5200/include/tm27.h: Fix warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/powerpc/gen5200/include/tm27.h

    rc80f5afc r126a454  
    2727#define MUST_WAIT_FOR_INTERRUPT 1
    2828
    29 void nullFunc(void) {}
     29static void nullFunc(void) {}
    3030
    3131static rtems_irq_connect_data clockIrqData = {BSP_DECREMENTER,
     
    3434                                              (rtems_irq_disable) nullFunc,
    3535                                              (rtems_irq_is_enabled) nullFunc};
    36 static void Install_tm27_vector(void (*_handler)(void))
     36
     37RTEMS_INLINE_ROUTINE void Install_tm27_vector(void (*_handler)(void))
    3738{
    3839  clockIrqData.hdl = _handler;
    3940  if (!BSP_install_rtems_irq_handler (&clockIrqData)) {
    40         printk("Error installing clock interrupt handler!\n");
    41         bsp_fatal(MPC5200_FATAL_TM27_IRQ_INSTALL);
     41    printk("Error installing clock interrupt handler!\n");
     42    bsp_fatal(MPC5200_FATAL_TM27_IRQ_INSTALL);
    4243  }
    4344}
Note: See TracChangeset for help on using the changeset viewer.