mmc: block: move packed command struct init
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 18 Nov 2016 12:36:16 +0000 (13:36 +0100)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:36:50 +0000 (15:36 -0500)
commit618c4034f228c4f5f7e9143bb256637906c1948c
treeabb5bd49a969ec5756eba4b6f58982d448014239
parent8edcb989ba1af1f503a65ae5920ae9aae4602548
mmc: block: move packed command struct init

By moving the mmc_packed_init() and mmc_packed_clean() into the
only file in the kernel where they are used, we save two exported
functions and can staticize those to the block.c file.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
(cherry picked from commit e01071dd2bfc73d88b63aeec26bff8eb872b1dc9)
drivers/mmc/card/block.c
drivers/mmc/card/queue.c
drivers/mmc/card/queue.h