diff options
Diffstat (limited to 'arch/arm/plat-s3c24xx/dma.c')
-rw-r--r-- | arch/arm/plat-s3c24xx/dma.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/arch/arm/plat-s3c24xx/dma.c b/arch/arm/plat-s3c24xx/dma.c index 1baf941d1930..63bb22b973e3 100644 --- a/arch/arm/plat-s3c24xx/dma.c +++ b/arch/arm/plat-s3c24xx/dma.c | |||
@@ -31,9 +31,8 @@ | |||
31 | #include <asm/system.h> | 31 | #include <asm/system.h> |
32 | #include <asm/irq.h> | 32 | #include <asm/irq.h> |
33 | #include <mach/hardware.h> | 33 | #include <mach/hardware.h> |
34 | #include <asm/dma.h> | 34 | #include <mach/dma.h> |
35 | 35 | ||
36 | #include <asm/mach/dma.h> | ||
37 | #include <mach/map.h> | 36 | #include <mach/map.h> |
38 | 37 | ||
39 | #include <plat/dma.h> | 38 | #include <plat/dma.h> |
@@ -804,7 +803,7 @@ EXPORT_SYMBOL(s3c2410_dma_request); | |||
804 | * allowed to go through. | 803 | * allowed to go through. |
805 | */ | 804 | */ |
806 | 805 | ||
807 | int s3c2410_dma_free(dmach_t channel, struct s3c2410_dma_client *client) | 806 | int s3c2410_dma_free(unsigned int channel, struct s3c2410_dma_client *client) |
808 | { | 807 | { |
809 | struct s3c2410_dma_chan *chan = lookup_dma_channel(channel); | 808 | struct s3c2410_dma_chan *chan = lookup_dma_channel(channel); |
810 | unsigned long flags; | 809 | unsigned long flags; |
@@ -995,7 +994,7 @@ static int s3c2410_dma_started(struct s3c2410_dma_chan *chan) | |||
995 | } | 994 | } |
996 | 995 | ||
997 | int | 996 | int |
998 | s3c2410_dma_ctrl(dmach_t channel, enum s3c2410_chan_op op) | 997 | s3c2410_dma_ctrl(unsigned int channel, enum s3c2410_chan_op op) |
999 | { | 998 | { |
1000 | struct s3c2410_dma_chan *chan = lookup_dma_channel(channel); | 999 | struct s3c2410_dma_chan *chan = lookup_dma_channel(channel); |
1001 | 1000 | ||
@@ -1043,7 +1042,7 @@ EXPORT_SYMBOL(s3c2410_dma_ctrl); | |||
1043 | * dcon: base value of the DCONx register | 1042 | * dcon: base value of the DCONx register |
1044 | */ | 1043 | */ |
1045 | 1044 | ||
1046 | int s3c2410_dma_config(dmach_t channel, | 1045 | int s3c2410_dma_config(unsigned int channel, |
1047 | int xferunit, | 1046 | int xferunit, |
1048 | int dcon) | 1047 | int dcon) |
1049 | { | 1048 | { |
@@ -1092,7 +1091,7 @@ int s3c2410_dma_config(dmach_t channel, | |||
1092 | 1091 | ||
1093 | EXPORT_SYMBOL(s3c2410_dma_config); | 1092 | EXPORT_SYMBOL(s3c2410_dma_config); |
1094 | 1093 | ||
1095 | int s3c2410_dma_setflags(dmach_t channel, unsigned int flags) | 1094 | int s3c2410_dma_setflags(unsigned int channel, unsigned int flags) |
1096 | { | 1095 | { |
1097 | struct s3c2410_dma_chan *chan = lookup_dma_channel(channel); | 1096 | struct s3c2410_dma_chan *chan = lookup_dma_channel(channel); |
1098 | 1097 | ||
@@ -1113,7 +1112,7 @@ EXPORT_SYMBOL(s3c2410_dma_setflags); | |||
1113 | * irq? | 1112 | * irq? |
1114 | */ | 1113 | */ |
1115 | 1114 | ||
1116 | int s3c2410_dma_set_opfn(dmach_t channel, s3c2410_dma_opfn_t rtn) | 1115 | int s3c2410_dma_set_opfn(unsigned int channel, s3c2410_dma_opfn_t rtn) |
1117 | { | 1116 | { |
1118 | struct s3c2410_dma_chan *chan = lookup_dma_channel(channel); | 1117 | struct s3c2410_dma_chan *chan = lookup_dma_channel(channel); |
1119 | 1118 | ||
@@ -1129,7 +1128,7 @@ int s3c2410_dma_set_opfn(dmach_t channel, s3c2410_dma_opfn_t rtn) | |||
1129 | 1128 | ||
1130 | EXPORT_SYMBOL(s3c2410_dma_set_opfn); | 1129 | EXPORT_SYMBOL(s3c2410_dma_set_opfn); |
1131 | 1130 | ||
1132 | int s3c2410_dma_set_buffdone_fn(dmach_t channel, s3c2410_dma_cbfn_t rtn) | 1131 | int s3c2410_dma_set_buffdone_fn(unsigned int channel, s3c2410_dma_cbfn_t rtn) |
1133 | { | 1132 | { |
1134 | struct s3c2410_dma_chan *chan = lookup_dma_channel(channel); | 1133 | struct s3c2410_dma_chan *chan = lookup_dma_channel(channel); |
1135 | 1134 | ||
@@ -1219,7 +1218,7 @@ EXPORT_SYMBOL(s3c2410_dma_devconfig); | |||
1219 | * returns the current transfer points for the dma source and destination | 1218 | * returns the current transfer points for the dma source and destination |
1220 | */ | 1219 | */ |
1221 | 1220 | ||
1222 | int s3c2410_dma_getposition(dmach_t channel, dma_addr_t *src, dma_addr_t *dst) | 1221 | int s3c2410_dma_getposition(unsigned int channel, dma_addr_t *src, dma_addr_t *dst) |
1223 | { | 1222 | { |
1224 | struct s3c2410_dma_chan *chan = lookup_dma_channel(channel); | 1223 | struct s3c2410_dma_chan *chan = lookup_dma_channel(channel); |
1225 | 1224 | ||