forked from len0rd/rockbox
Various minor cleanups for mini2440
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27645 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f971deed6d
commit
451aa86244
7 changed files with 12 additions and 4 deletions
|
|
@ -35,7 +35,7 @@ static int dma_used = 0;
|
|||
/* Status flags */
|
||||
#define STATUS_CHANNEL_ACTIVE (1<<0)
|
||||
|
||||
struct dma_channel_state
|
||||
static struct dma_channel_state
|
||||
{
|
||||
volatile unsigned status;
|
||||
void (*callback)(void);
|
||||
|
|
@ -162,7 +162,7 @@ void dma_enable_channel(int channel, struct dma_request *request)
|
|||
}
|
||||
|
||||
/* ISRs */
|
||||
inline void generic_isr (unsigned channel)
|
||||
static inline void generic_isr (unsigned channel)
|
||||
{
|
||||
if (dma_state [channel].status | STATUS_CHANNEL_ACTIVE)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue