[OPW,kernel,3/4] Staging: crystalhd: Make necessary changes due to removal of typedef in crystalhd_hw.h
diff mbox

Message ID 8a0d07143b88aab509398fbbdc1e59d2705a0f2a.1382092572.git.rashika.kheria@gmail.com
State Rejected
Headers show

Commit Message

Rashika Oct. 18, 2013, 11:15 a.m. UTC
This patch updates the file crystalhd_hw.h to accomodate the removal
of typedef in crystalhd_misc.h

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
---
 drivers/staging/crystalhd/crystalhd_hw.h |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Comments

Waskiewicz Jr, Peter P Oct. 19, 2013, 2:08 a.m. UTC | #1
On Fri, 2013-10-18 at 16:45 +0530, Rashika Kheria wrote:
> This patch updates the file crystalhd_hw.h to accomodate the removal
> of typedef in crystalhd_misc.h
> 
> Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>

Reviewed-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>

> ---
>  drivers/staging/crystalhd/crystalhd_hw.h |    6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/crystalhd/crystalhd_hw.h b/drivers/staging/crystalhd/crystalhd_hw.h
> index 3780944..9d08f64 100644
> --- a/drivers/staging/crystalhd/crystalhd_hw.h
> +++ b/drivers/staging/crystalhd/crystalhd_hw.h
> @@ -263,7 +263,8 @@ enum list_sts {
>  
>  struct tx_dma_pkt {
>  	struct dma_desc_mem	desc_mem;
> -	hw_comp_callback	call_back;
> +	void (*call_back)(struct crystalhd_dio_req *,
> +			wait_queue_head_t *event, enum BC_STATUS sts);
>  	struct crystalhd_dio_req	*dio_req;
>  	wait_queue_head_t	*cb_event;
>  	uint32_t		list_tag;
> @@ -382,7 +383,8 @@ enum BC_STATUS crystalhd_hw_free_dma_rings(struct crystalhd_hw *);
>  
>  enum BC_STATUS crystalhd_hw_post_tx(struct crystalhd_hw *hw,
>  			     struct crystalhd_dio_req *ioreq,
> -			     hw_comp_callback call_back,
> +			     void (*call_back)(struct crystalhd_dio_req *,
> +				     wait_queue_head_t *event, enum BC_STATUS sts),
>  			     wait_queue_head_t *cb_event,
>  			     uint32_t *list_id, uint8_t data_flags);
>  
> -- 
> 1.7.9.5
>

Patch
diff mbox

diff --git a/drivers/staging/crystalhd/crystalhd_hw.h b/drivers/staging/crystalhd/crystalhd_hw.h
index 3780944..9d08f64 100644
--- a/drivers/staging/crystalhd/crystalhd_hw.h
+++ b/drivers/staging/crystalhd/crystalhd_hw.h
@@ -263,7 +263,8 @@  enum list_sts {
 
 struct tx_dma_pkt {
 	struct dma_desc_mem	desc_mem;
-	hw_comp_callback	call_back;
+	void (*call_back)(struct crystalhd_dio_req *,
+			wait_queue_head_t *event, enum BC_STATUS sts);
 	struct crystalhd_dio_req	*dio_req;
 	wait_queue_head_t	*cb_event;
 	uint32_t		list_tag;
@@ -382,7 +383,8 @@  enum BC_STATUS crystalhd_hw_free_dma_rings(struct crystalhd_hw *);
 
 enum BC_STATUS crystalhd_hw_post_tx(struct crystalhd_hw *hw,
 			     struct crystalhd_dio_req *ioreq,
-			     hw_comp_callback call_back,
+			     void (*call_back)(struct crystalhd_dio_req *,
+				     wait_queue_head_t *event, enum BC_STATUS sts),
 			     wait_queue_head_t *cb_event,
 			     uint32_t *list_id, uint8_t data_flags);