mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
as3525: make interrupts struct static and merge declaration & definition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30116 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1a6172d2a0
commit
a1e1892b0f
1 changed files with 1 additions and 7 deletions
|
@ -103,14 +103,8 @@ static void UIRQ(void)
|
||||||
masked ? "" : "un", irq_no, irqname[irq_no], status);
|
masked ? "" : "un", irq_no, irqname[irq_no], status);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct vec_int_src
|
|
||||||
{
|
|
||||||
int source;
|
|
||||||
void (*isr) (void);
|
|
||||||
};
|
|
||||||
|
|
||||||
/* Vectored interrupts (16 available) */
|
/* Vectored interrupts (16 available) */
|
||||||
struct vec_int_src vec_int_srcs[] =
|
static const struct { int source; void (*isr) (void); } vec_int_srcs[] =
|
||||||
{
|
{
|
||||||
/* Highest priority at the top of the list */
|
/* Highest priority at the top of the list */
|
||||||
{ INT_SRC_DMAC, INT_DMAC },
|
{ INT_SRC_DMAC, INT_DMAC },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue