From 84de99e1ded4e96ac36c2287b7d9e4b9cdd8dcc4 Mon Sep 17 00:00:00 2001 From: Ritesh Harjani Date: Sun, 27 Sep 2015 21:51:01 +0530 Subject: mmc: core: Call cmdq_post_req with tag info instead of mrq Call mmc_/cmdq_post_req with tag number instead of mrq. This is needed in error handling as part of multiple request error handling. Change-Id: I175432639d28378ec74669e31deb4d1667c49bb8 Signed-off-by: Ritesh Harjani --- include/linux/mmc/core.h | 3 +-- include/linux/mmc/host.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'include/linux') diff --git a/include/linux/mmc/core.h b/include/linux/mmc/core.h index 87332656e0fd..8b5197ba6759 100644 --- a/include/linux/mmc/core.h +++ b/include/linux/mmc/core.h @@ -136,8 +136,7 @@ struct mmc_cmdq_req; extern int mmc_cmdq_discard_queue(struct mmc_host *host, u32 tasks); extern int mmc_cmdq_halt(struct mmc_host *host, bool enable); extern int mmc_cmdq_halt_on_empty_queue(struct mmc_host *host); -extern void mmc_cmdq_post_req(struct mmc_host *host, struct mmc_request *mrq, - int err); +extern void mmc_cmdq_post_req(struct mmc_host *host, int tag, int err); extern int mmc_cmdq_start_req(struct mmc_host *host, struct mmc_cmdq_req *cmdq_req); extern int mmc_cmdq_prepare_flush(struct mmc_command *cmd); diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 4743f46bf9b3..b923a74add1d 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -95,8 +95,7 @@ struct mmc_cmdq_host_ops { int (*enable)(struct mmc_host *host); void (*disable)(struct mmc_host *host, bool soft); int (*request)(struct mmc_host *host, struct mmc_request *mrq); - void (*post_req)(struct mmc_host *host, struct mmc_request *mrq, - int err); + void (*post_req)(struct mmc_host *host, int tag, int err); int (*halt)(struct mmc_host *host, bool halt); void (*reset)(struct mmc_host *host, bool soft); void (*dumpstate)(struct mmc_host *host); -- cgit v1.2.3