sparc/shared: Fix warnings

This commit is contained in:
Joel Sherrill
2014-10-17 08:51:33 -05:00
parent 8a04e72e5f
commit 56fb691566
3 changed files with 12 additions and 4 deletions

View File

@@ -74,6 +74,8 @@ void (*b1553brm_rasta_int_reg)(void *handler, int irq, void *arg) = 0;
static void b1553brmrasta_interrupt_handler(int irq, void *arg); static void b1553brmrasta_interrupt_handler(int irq, void *arg);
#include "b1553brm.c" #include "b1553brm.c"
#include <b1553brm_rasta.h>
/* /*
* *

View File

@@ -1,6 +1,8 @@
/* /*
* GRCAN driver * GRCAN driver
* */
/*
* COPYRIGHT (c) 2007. * COPYRIGHT (c) 2007.
* Gaisler Research. * Gaisler Research.
* *
@@ -12,7 +14,6 @@
* 2007-06-13, Daniel Hellstrom <daniel@gaisler.com> * 2007-06-13, Daniel Hellstrom <daniel@gaisler.com>
* New driver in sparc shared directory. Parts taken * New driver in sparc shared directory. Parts taken
* from rasta grhcan driver. * from rasta grhcan driver.
*
*/ */
#include <bsp.h> #include <bsp.h>
@@ -1791,6 +1792,8 @@ static int grcan_register_internal(void)
} }
int grcan_register_abs(struct grcan_device_info *devices, int dev_cnt);
/* Use custom addresses and IRQs to find hardware */ /* Use custom addresses and IRQs to find hardware */
int GRCAN_PREFIX(_register_abs)(struct grcan_device_info *devices, int dev_cnt) int GRCAN_PREFIX(_register_abs)(struct grcan_device_info *devices, int dev_cnt)
{ {

View File

@@ -2,7 +2,9 @@
* @file * @file
* @ingroup sparc_bsp * @ingroup sparc_bsp
* @brief ERC32/LEON2/LEON3 BSP specific exit handler. * @brief ERC32/LEON2/LEON3 BSP specific exit handler.
* */
/*
* COPYRIGHT (c) 2014. * COPYRIGHT (c) 2014.
* Aeroflex Gaisler AB. * Aeroflex Gaisler AB.
* *
@@ -11,7 +13,8 @@
* http://www.rtems.org/license/LICENSE. * http://www.rtems.org/license/LICENSE.
*/ */
#include <rtems.h> #include <bsp.h>
#include <rtems/score/cpu.h>
void BSP_fatal_exit(uint32_t error) void BSP_fatal_exit(uint32_t error)
{ {