bsp/mpc8xx: Fix warnings

close #2211
This commit is contained in:
Sebastian Huber
2014-12-12 15:29:59 +01:00
parent 25e5f616fe
commit 3507f3f953
7 changed files with 30 additions and 26 deletions

View File

@@ -62,9 +62,6 @@
#include <bsp/irq.h>
#include <rtems/bspIo.h> /* for printk */
/* BSP supplied routine */
extern int mbx8xx_console_get_configuration(void);
/*
* Interrupt-driven input buffer
*/

View File

@@ -42,6 +42,7 @@
#include <stdlib.h> /* for atexit() */
#include <mpc8xx.h>
#include <bsp.h>
volatile uint32_t Clock_driver_ticks;
extern volatile m8xx_t m8xx;
@@ -49,7 +50,6 @@ extern int BSP_get_clock_irq_level(void);
extern int BSP_connect_clock_handler(rtems_isr_entry);
extern int BSP_disconnect_clock_handler(void);
extern uint32_t bsp_clicks_per_usec;
extern uint32_t bsp_clock_speed;
/*
* Prototypes

View File

@@ -50,16 +50,10 @@
#include <stdlib.h>
#include <unistd.h>
#include <termios.h>
#include <bsp.h>
#include <bsp/irq.h>
#include <rtems/bspIo.h> /* for printk */
int BSP_irq_enabled_at_cpm(const rtems_irq_number irqLine);
/* BSP supplied routine */
extern int mbx8xx_console_get_configuration(void);
extern uint32_t bsp_clock_speed;
/*
* Interrupt-driven input buffer
*/