Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
f0ffc816
Commit
f0ffc816
authored
Jan 02, 2009
by
Russell King
Committed by
Russell King
Jan 02, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] dma: remove dmamode_t typedef
Signed-off-by:
Russell King
<
rmk+kernel@arm.linux.org.uk
>
parent
4e57ea9a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
8 deletions
+3
-8
arch/arm/include/asm/dma.h
arch/arm/include/asm/dma.h
+1
-6
arch/arm/include/asm/mach/dma.h
arch/arm/include/asm/mach/dma.h
+1
-1
arch/arm/kernel/dma.c
arch/arm/kernel/dma.c
+1
-1
No files found.
arch/arm/include/asm/dma.h
View file @
f0ffc816
...
...
@@ -21,11 +21,6 @@
#include <mach/isa-dma.h>
/*
* DMA modes
*/
typedef
unsigned
int
dmamode_t
;
/*
* The DMA modes reflect the settings for the ISA DMA controller
*/
...
...
@@ -125,7 +120,7 @@ extern void set_dma_count(unsigned int chan, unsigned long count);
* DMA transfer direction immediately, but defer it to the
* enable_dma().
*/
extern
void
set_dma_mode
(
unsigned
int
chan
,
dmamode_
t
mode
);
extern
void
set_dma_mode
(
unsigned
int
chan
,
unsigned
in
t
mode
);
/* Set the transfer speed for this channel
*/
...
...
arch/arm/include/asm/mach/dma.h
View file @
f0ffc816
...
...
@@ -34,7 +34,7 @@ struct dma_struct {
unsigned
int
active
:
1
;
/* Transfer active */
unsigned
int
invalid
:
1
;
/* Address/Count changed */
dmamode_
t
dma_mode
;
/* DMA mode */
unsigned
in
t
dma_mode
;
/* DMA mode */
int
speed
;
/* DMA speed */
unsigned
int
lock
;
/* Device is allocated */
...
...
arch/arm/kernel/dma.c
View file @
f0ffc816
...
...
@@ -171,7 +171,7 @@ EXPORT_SYMBOL(set_dma_count);
/* Set DMA direction mode
*/
void
set_dma_mode
(
unsigned
int
chan
,
dmamode_
t
mode
)
void
set_dma_mode
(
unsigned
int
chan
,
unsigned
in
t
mode
)
{
dma_t
*
dma
=
dma_channel
(
chan
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment