diff options
author | Linus Walleij | 2016-11-23 11:02:24 +0100 |
---|---|---|
committer | Ulf Hansson | 2016-11-29 09:05:27 +0100 |
commit | d3c6aac3bdfe97b8b44db6a8aba59786cb9531dc (patch) | |
tree | bff68f24e27d72562f187077dd899524cfddde2f /drivers/mmc/Makefile | |
parent | mmc: core: Update CMD13 polling policy when switch to HS DDR mode (diff) | |
download | kernel-qcow2-linux-d3c6aac3bdfe97b8b44db6a8aba59786cb9531dc.tar.gz kernel-qcow2-linux-d3c6aac3bdfe97b8b44db6a8aba59786cb9531dc.tar.xz kernel-qcow2-linux-d3c6aac3bdfe97b8b44db6a8aba59786cb9531dc.zip |
mmc: delete is_first_req parameter from pre-request callback
The void (*pre_req) callback in the struct mmc_host_ops vtable
is passing an argument "is_first_req" indicating whether this is
the first request or not.
None of the in-kernel users use this parameter: instead, since
they all just do variants of dma_map* they use the DMA cookie
to indicate whether a pre* callback has already been done for
a request when they decide how to handle it.
Delete the parameter from the callback and all users, as it is
just pointless cruft.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/Makefile')
0 files changed, 0 insertions, 0 deletions