diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-09-07 08:40:08 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-09-07 08:40:08 +0000 |
commit | 2ac5153236d966f47213374ea6c8eed5a14639d9 (patch) | |
tree | e090657ffb5a0742b8ff353698432bbb299d6664 | |
parent | 9b491752b169d1b278ce36486778c13958938b57 (diff) | |
download | rockbox-2ac5153236d966f47213374ea6c8eed5a14639d9.tar.gz rockbox-2ac5153236d966f47213374ea6c8eed5a14639d9.zip |
AMS: make dma_disable_channel() not inline
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28017 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/target/arm/as3525/dma-pl081.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/as3525/dma-target.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/dma-pl081.c b/firmware/target/arm/as3525/dma-pl081.c index 31291a93ab..a53fde99c5 100644 --- a/firmware/target/arm/as3525/dma-pl081.c +++ b/firmware/target/arm/as3525/dma-pl081.c | |||
@@ -56,7 +56,7 @@ void dma_init(void) | |||
56 | VIC_INT_ENABLE = INTERRUPT_DMAC; | 56 | VIC_INT_ENABLE = INTERRUPT_DMAC; |
57 | } | 57 | } |
58 | 58 | ||
59 | inline void dma_disable_channel(int channel) | 59 | void dma_disable_channel(int channel) |
60 | { | 60 | { |
61 | DMAC_CH_CONFIGURATION(channel) &= ~(1<<0); | 61 | DMAC_CH_CONFIGURATION(channel) &= ~(1<<0); |
62 | } | 62 | } |
diff --git a/firmware/target/arm/as3525/dma-target.h b/firmware/target/arm/as3525/dma-target.h index a64055984d..2024fab73a 100644 --- a/firmware/target/arm/as3525/dma-target.h +++ b/firmware/target/arm/as3525/dma-target.h | |||
@@ -37,7 +37,7 @@ void dma_init(void) INIT_ATTR; | |||
37 | void dma_enable_channel(int channel, void *src, void *dst, int peri, | 37 | void dma_enable_channel(int channel, void *src, void *dst, int peri, |
38 | int flow_controller, bool src_inc, bool dst_inc, | 38 | int flow_controller, bool src_inc, bool dst_inc, |
39 | size_t size, int nwords, void (*callback)(void)); | 39 | size_t size, int nwords, void (*callback)(void)); |
40 | inline void dma_disable_channel(int channel); | 40 | void dma_disable_channel(int channel); |
41 | 41 | ||
42 | void dma_retain(void); | 42 | void dma_retain(void); |
43 | void dma_release(void); | 43 | void dma_release(void); |