diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2011-07-02 02:49:09 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2011-07-02 02:49:09 +0000 |
commit | a1e1892b0ff60e84ec788a027fae70b33cce8e6c (patch) | |
tree | ffa224380d2c4120f161f2f83f91f7b04cde3aa3 | |
parent | 1a6172d2a0f98ebde1bbf3817b082bdfa231c8a6 (diff) | |
download | rockbox-a1e1892b0ff60e84ec788a027fae70b33cce8e6c.tar.gz rockbox-a1e1892b0ff60e84ec788a027fae70b33cce8e6c.zip |
as3525: make interrupts struct static and merge declaration & definition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30116 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/target/arm/as3525/system-as3525.c | 8 |
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) | |||
103 | masked ? "" : "un", irq_no, irqname[irq_no], status); | 103 | masked ? "" : "un", irq_no, irqname[irq_no], status); |
104 | } | 104 | } |
105 | 105 | ||
106 | struct vec_int_src | ||
107 | { | ||
108 | int source; | ||
109 | void (*isr) (void); | ||
110 | }; | ||
111 | |||
112 | /* Vectored interrupts (16 available) */ | 106 | /* Vectored interrupts (16 available) */ |
113 | struct vec_int_src vec_int_srcs[] = | 107 | static const struct { int source; void (*isr) (void); } vec_int_srcs[] = |
114 | { | 108 | { |
115 | /* Highest priority at the top of the list */ | 109 | /* Highest priority at the top of the list */ |
116 | { INT_SRC_DMAC, INT_DMAC }, | 110 | { INT_SRC_DMAC, INT_DMAC }, |