From 8eff7dd2a6c0453b7de3391f2c47f9004a8c1b7c Mon Sep 17 00:00:00 2001 From: hhb Date: Tue, 3 Jul 2012 09:54:00 +0800 Subject: [PATCH] DMA :pl330.c add new argument 'id' to pl330_request_channel() --- arch/arm/common/pl330.c | 2 +- arch/arm/include/asm/hardware/pl330.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/common/pl330.c b/arch/arm/common/pl330.c index 4d3db3075e4a..ecfc14c11215 100644 --- a/arch/arm/common/pl330.c +++ b/arch/arm/common/pl330.c @@ -1639,7 +1639,7 @@ static __attribute__((aligned(4))) __sramdata char i2s_mcode_buff[2][MCODE_BUFF_ /* Upon success, returns IdentityToken for the * allocated channel, NULL otherwise. */ -void *pl330_request_channel(const struct pl330_info *pi) +void *pl330_request_channel(int id, const struct pl330_info *pi) { struct pl330_thread *thrd = NULL; struct pl330_dmac *pl330; diff --git a/arch/arm/include/asm/hardware/pl330.h b/arch/arm/include/asm/hardware/pl330.h index 575fa8186ca0..545a521b333b 100644 --- a/arch/arm/include/asm/hardware/pl330.h +++ b/arch/arm/include/asm/hardware/pl330.h @@ -209,7 +209,7 @@ extern int pl330_add(struct pl330_info *); extern void pl330_del(struct pl330_info *pi); extern int pl330_update(const struct pl330_info *pi); extern void pl330_release_channel(void *ch_id); -extern void *pl330_request_channel(const struct pl330_info *pi); +extern void *pl330_request_channel(int id, const struct pl330_info *pi); extern int pl330_chan_status(void *ch_id, struct pl330_chanstatus *pstatus); extern int pl330_chan_ctrl(void *ch_id, enum pl330_chan_op op); extern int pl330_submit_req(void *ch_id, struct pl330_req *r); -- 2.34.1