summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2011-07-02 02:49:09 +0000
committerRafaël Carré <rafael.carre@gmail.com>2011-07-02 02:49:09 +0000
commita1e1892b0ff60e84ec788a027fae70b33cce8e6c (patch)
treeffa224380d2c4120f161f2f83f91f7b04cde3aa3 /firmware/target
parent1a6172d2a0f98ebde1bbf3817b082bdfa231c8a6 (diff)
as3525: make interrupts struct static and merge declaration & definition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30116 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/as3525/system-as3525.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c
index d8059715d0..8f64597f4f 100644
--- a/firmware/target/arm/as3525/system-as3525.c
+++ b/firmware/target/arm/as3525/system-as3525.c
@@ -103,14 +103,8 @@ static void UIRQ(void)
masked ? "" : "un", irq_no, irqname[irq_no], status);
}
-struct vec_int_src
-{
- int source;
- void (*isr) (void);
-};
-
/* 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 */
{ INT_SRC_DMAC, INT_DMAC },