diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-11-18 13:36:15 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2016-11-29 09:05:04 +0100 |
commit | 7db3028e00f0d19d4ab10d3d5f38afb1d7814861 (patch) | |
tree | ee52405d50a2b59b99769dafd19363723ae5aa9e /drivers/mmc/card/queue.h | |
parent | f2818bff37b65bbf05fb2a948f591ff67986e733 (diff) | |
download | linux-7db3028e00f0d19d4ab10d3d5f38afb1d7814861.tar.gz linux-7db3028e00f0d19d4ab10d3d5f38afb1d7814861.tar.bz2 linux-7db3028e00f0d19d4ab10d3d5f38afb1d7814861.zip |
mmc: block: rename data to blkdata
The struct mmc_blk_request contains an opaque void *data that
is actually only used to store a pointer to a per-request
struct mmc_blk_data. This is confusing, so rename the member
to blkdata and forward-declare the block.c local struct.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/card/queue.h')
-rw-r--r-- | drivers/mmc/card/queue.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/card/queue.h b/drivers/mmc/card/queue.h index 342f1e3f301e..aca285046576 100644 --- a/drivers/mmc/card/queue.h +++ b/drivers/mmc/card/queue.h @@ -11,6 +11,7 @@ static inline bool mmc_req_is_special(struct request *req) struct request; struct task_struct; +struct mmc_blk_data; struct mmc_blk_request { struct mmc_request mrq; @@ -57,7 +58,7 @@ struct mmc_queue { unsigned int flags; #define MMC_QUEUE_SUSPENDED (1 << 0) #define MMC_QUEUE_NEW_REQUEST (1 << 1) - void *data; + struct mmc_blk_data *blkdata; struct request_queue *queue; struct mmc_queue_req mqrq[2]; struct mmc_queue_req *mqrq_cur; |