summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/mtk-sd.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2016-12-30 13:47:23 +0100
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commit154b6967280ed17bf7e3b089e05dbb4f5d880fad (patch)
treec2487703b39d2b6542de32a13dfb838dea7753c8 /drivers/mmc/host/mtk-sd.c
parentf1cc326d7286f82cfc2b861ccd9497ab14249b29 (diff)
mmc: host: Include interrupt.h in mmc host drivers that depends on it
An mmc host driver shouldn't rely on interrupt.h being included by another public mmc header. Instead make that dependency explicit by including interrupt.h in those host drivers that depends on it. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> (cherry picked from commit b8789ec482bbbf52f62631e25b6c8648fa834efc) Conflicts: drivers/mmc/host/davinci_mmc.c drivers/mmc/host/dw_mmc.h drivers/mmc/host/meson-gx-mmc.c
Diffstat (limited to 'drivers/mmc/host/mtk-sd.c')
-rw-r--r--drivers/mmc/host/mtk-sd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c
index 0c9cf6d7aded..23a510609895 100644
--- a/drivers/mmc/host/mtk-sd.c
+++ b/drivers/mmc/host/mtk-sd.c
@@ -28,6 +28,7 @@
#include <linux/regulator/consumer.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
+#include <linux/interrupt.h>
#include <linux/mmc/card.h>
#include <linux/mmc/core.h>