forked from Imagelibrary/rtems
arm/edb7312: Fix warnings
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
#ifndef _BSP_H
|
||||
#define _BSP_H
|
||||
|
||||
#ifndef ASM
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -57,10 +59,17 @@ int cs8900_driver_attach (struct rtems_bsdnet_ifconfig *config,
|
||||
|
||||
/** @} */
|
||||
|
||||
/*
|
||||
* Prototypes for methods called from .S but implemented in C
|
||||
*/
|
||||
void edb7312_interrupt_dispatch(rtems_vector_number vector);
|
||||
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* !ASM */
|
||||
|
||||
#endif /* _BSP_H */
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
/*
|
||||
* Cirrus EP7312 Intererrupt handler
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2002 by Jay Monkman <jtm@smoothsmoothie.com>
|
||||
*
|
||||
* Copyright (c) 2002 by Charlie Steader <charlies@poliac.com>
|
||||
@@ -9,7 +11,9 @@
|
||||
* found in the file LICENSE in this distribution or at
|
||||
* http://www.rtems.org/license/LICENSE.
|
||||
*/
|
||||
|
||||
#define __asm__
|
||||
#include <bsp.h>
|
||||
#include "irq.h"
|
||||
|
||||
.extern edb7312_interrupt_dispatch
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
/*
|
||||
* Cirrus EP7312 Intererrupt handler
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2010 embedded brains GmbH.
|
||||
*
|
||||
* Copyright (c) 2002 by Jay Monkman <jtm@smoothsmoothie.com>
|
||||
|
||||
Reference in New Issue
Block a user