]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2cc3cf677d94be37c7864a5f420a889b07784ec7
treebd9cf23e75a554031d572669e4a7327aff4de797
parent3cd3890cf2572a3412760e2a96a2c109ac16e73d
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