summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/shared/spw
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-11 18:34:23 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-13 10:33:17 -0500
commit12579b2d90e70ab86d7226f32996dd5899456ba7 (patch)
treee49e68411167340464f9fbec73537a3559f72a75 /c/src/lib/libbsp/sparc/shared/spw
parentlibbsp/shared/dummy_printk_support.c: Fix warning (diff)
downloadrtems-12579b2d90e70ab86d7226f32996dd5899456ba7.tar.bz2
sparc/leon2: Fix warnings
Diffstat (limited to 'c/src/lib/libbsp/sparc/shared/spw')
-rw-r--r--c/src/lib/libbsp/sparc/shared/spw/grspw_rasta.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/spw/grspw_rasta.c b/c/src/lib/libbsp/sparc/shared/spw/grspw_rasta.c
index 9bf9437c4d..b76d46a922 100644
--- a/c/src/lib/libbsp/sparc/shared/spw/grspw_rasta.c
+++ b/c/src/lib/libbsp/sparc/shared/spw/grspw_rasta.c
@@ -1,3 +1,6 @@
+#include <rtems.h>
+#include <grspw_rasta.h>
+
/* Select PCI driver */
#define GRSPW_PCI
@@ -74,7 +77,7 @@ void (*grspw_rasta_int_reg)(void *handler, int irq, void *arg) = 0;
static int grspw_rasta_calc_memoffs(int maxcores, int corenum, unsigned int *mem_base, unsigned int *mem_end, unsigned int *bdtable_base);
#endif
-int grspw_rasta_interrupt_handler(unsigned int status);
+void grspw_rasta_interrupt_handler(unsigned int status);
void grspwrasta_interrupt_handler(int irq, void *pDev);
@@ -106,7 +109,7 @@ int grspw_rasta_register(
* which GRSPW core was responsible for the IRQ (may be multiple).
* v = status of the PCI/AMBA MCPU IRQ CTRL
*/
-int grspw_rasta_interrupt_handler(unsigned int status)
+void grspw_rasta_interrupt_handler(unsigned int status)
{
int minor;