Ignore:
Timestamp:
Mar 27, 2010, 8:41:45 PM (10 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, master
Children:
dccbb21
Parents:
1b6151a
Message:

fixed some warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mpc55xxevb/clock/clock-config.c

    r1b6151a r6b150cc  
    4444 } while (0)
    4545
    46 static void mpc55xx_clock_handler_install( void)
     46static void mpc55xx_clock_handler_install( rtems_isr_entry isr,
     47                                           rtems_isr_entry *old_isr)
    4748{
    4849  rtems_status_code sc = RTEMS_SUCCESSFUL;
     
    5354    RTEMS_INTERRUPT_UNIQUE,
    5455    MPC55XX_INTC_MIN_PRIORITY,
    55     (rtems_interrupt_handler) Clock_isr,
     56    (rtems_interrupt_handler) isr,
    5657    NULL
    5758  );
     59 *old_isr = NULL;
    5860  RTEMS_CHECK_SC_VOID( sc, "install clock interrupt handler");
    5961}
     
    140142
    141143#define Clock_driver_support_install_isr( isr, old_isr) \
    142   mpc55xx_clock_handler_install()
     144  mpc55xx_clock_handler_install(isr,&old_isr)
    143145
    144146#define Clock_driver_support_shutdown_hardware() mpc55xx_clock_cleanup()
Note: See TracChangeset for help on using the changeset viewer.