]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: mmci: Don't share un-implemented DMA functions
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 6 Mar 2019 14:04:51 +0000 (15:04 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 15 Apr 2019 09:55:54 +0000 (11:55 +0200)
commitbc105747f9a054de00ad0c5a6c3c1103477bee17
tree0c45265e416c434f71810d78487ac0cbf10a1cb5
parent72339f3f27fcd78a0b0a8944c1ad9882bfa8fb5a
mmc: mmci: Don't share un-implemented DMA functions

Some of the DMA functions are shared via mmci.h, however they are not
implemented unless CONFIG_DMA_ENGINE is set. Therefore, add that constraint
to the header file as well.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/mmc/host/mmci.h