mmc: block: move packed command struct init
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 18 Nov 2016 12:36:16 +0000 (13:36 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 29 Nov 2016 08:05:04 +0000 (09:05 +0100)
commite01071dd2bfc73d88b63aeec26bff8eb872b1dc9
treebd9cf23e75a554031d572669e4a7327aff4de797
parent7db3028e00f0d19d4ab10d3d5f38afb1d7814861
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>
drivers/mmc/card/block.c
drivers/mmc/card/queue.c
drivers/mmc/card/queue.h