Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
4e57ea9a
Commit
4e57ea9a
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 usage of dmamode_t from MXC platform support
Signed-off-by:
Russell King
<
rmk+kernel@arm.linux.org.uk
>
parent
bc6447b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
arch/arm/plat-mxc/dma-mx1-mx2.c
arch/arm/plat-mxc/dma-mx1-mx2.c
+3
-3
arch/arm/plat-mxc/include/mach/dma-mx1-mx2.h
arch/arm/plat-mxc/include/mach/dma-mx1-mx2.h
+2
-2
No files found.
arch/arm/plat-mxc/dma-mx1-mx2.c
View file @
4e57ea9a
...
...
@@ -114,7 +114,7 @@ struct imx_dma_channel {
void
(
*
err_handler
)
(
int
,
void
*
,
int
errcode
);
void
(
*
prog_handler
)
(
int
,
void
*
,
struct
scatterlist
*
);
void
*
data
;
dmamode_t
dma_mode
;
unsigned
int
dma_mode
;
struct
scatterlist
*
sg
;
unsigned
int
resbytes
;
int
dma_num
;
...
...
@@ -193,7 +193,7 @@ static inline int imx_dma_sg_next(int channel, struct scatterlist *sg)
int
imx_dma_setup_single
(
int
channel
,
dma_addr_t
dma_address
,
unsigned
int
dma_length
,
unsigned
int
dev_addr
,
dmamode_
t
dmamode
)
unsigned
in
t
dmamode
)
{
struct
imx_dma_channel
*
imxdma
=
&
imx_dma_channels
[
channel
];
...
...
@@ -288,7 +288,7 @@ int
imx_dma_setup_sg
(
int
channel
,
struct
scatterlist
*
sg
,
unsigned
int
sgcount
,
unsigned
int
dma_length
,
unsigned
int
dev_addr
,
dmamode_
t
dmamode
)
unsigned
in
t
dmamode
)
{
struct
imx_dma_channel
*
imxdma
=
&
imx_dma_channels
[
channel
];
...
...
arch/arm/plat-mxc/include/mach/dma-mx1-mx2.h
View file @
4e57ea9a
...
...
@@ -54,12 +54,12 @@ imx_dma_config_burstlen(int channel, unsigned int burstlen);
int
imx_dma_setup_single
(
int
channel
,
dma_addr_t
dma_address
,
unsigned
int
dma_length
,
unsigned
int
dev_addr
,
dmamode_
t
dmamode
);
unsigned
in
t
dmamode
);
int
imx_dma_setup_sg
(
int
channel
,
struct
scatterlist
*
sg
,
unsigned
int
sgcount
,
unsigned
int
dma_length
,
unsigned
int
dev_addr
,
dmamode_
t
dmamode
);
unsigned
int
dev_addr
,
unsigned
in
t
dmamode
);
int
imx_dma_setup_handlers
(
int
channel
,
...
...
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