From b8789ec482bbbf52f62631e25b6c8648fa834efc Mon Sep 17 00:00:00 2001 From: Ulf Hansson Date: Fri, 30 Dec 2016 13:47:23 +0100 Subject: [PATCH] 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 Reviewed-by: Linus Walleij --- drivers/mmc/host/davinci_mmc.c | 1 + drivers/mmc/host/dw_mmc.h | 1 + drivers/mmc/host/meson-gx-mmc.c | 1 + drivers/mmc/host/mtk-sd.c | 1 + drivers/mmc/host/sdhci.h | 1 + drivers/mmc/host/tmio_mmc.h | 1 + drivers/mmc/host/via-sdmmc.c | 1 + drivers/mmc/host/wmt-sdmmc.c | 1 + 8 files changed, 8 insertions(+) diff --git a/drivers/mmc/host/davinci_mmc.c b/drivers/mmc/host/davinci_mmc.c index 36b5af8eadb88..1e2600da105f4 100644 --- a/drivers/mmc/host/davinci_mmc.c +++ b/drivers/mmc/host/davinci_mmc.c @@ -36,6 +36,7 @@ #include #include #include +#include #include diff --git a/drivers/mmc/host/dw_mmc.h b/drivers/mmc/host/dw_mmc.h index 960146106596b..231a46f142d2d 100644 --- a/drivers/mmc/host/dw_mmc.h +++ b/drivers/mmc/host/dw_mmc.h @@ -18,6 +18,7 @@ #include #include #include +#include #define MAX_MCI_SLOTS 2 diff --git a/drivers/mmc/host/meson-gx-mmc.c b/drivers/mmc/host/meson-gx-mmc.c index 09739352834c8..bf19d03ce2eed 100644 --- a/drivers/mmc/host/meson-gx-mmc.c +++ b/drivers/mmc/host/meson-gx-mmc.c @@ -35,6 +35,7 @@ #include #include #include +#include #define DRIVER_NAME "meson-gx-mmc" diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c index 10ef2ae1d2f6d..d33828efc2533 100644 --- a/drivers/mmc/host/mtk-sd.c +++ b/drivers/mmc/host/mtk-sd.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h index a10a7b6a3cb44..edf3adfbc2132 100644 --- a/drivers/mmc/host/sdhci.h +++ b/drivers/mmc/host/sdhci.h @@ -18,6 +18,7 @@ #include #include #include +#include #include diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h index 9e20bcf3aa8d2..9b2284483cdd0 100644 --- a/drivers/mmc/host/tmio_mmc.h +++ b/drivers/mmc/host/tmio_mmc.h @@ -24,6 +24,7 @@ #include #include #include +#include #define CTL_SD_CMD 0x00 #define CTL_ARG_REG 0x04 diff --git a/drivers/mmc/host/via-sdmmc.c b/drivers/mmc/host/via-sdmmc.c index 63fac78b3d46a..6380044c06280 100644 --- a/drivers/mmc/host/via-sdmmc.c +++ b/drivers/mmc/host/via-sdmmc.c @@ -13,6 +13,7 @@ #include #include #include +#include #include diff --git a/drivers/mmc/host/wmt-sdmmc.c b/drivers/mmc/host/wmt-sdmmc.c index 5af00559e9d6f..21ebba88679cd 100644 --- a/drivers/mmc/host/wmt-sdmmc.c +++ b/drivers/mmc/host/wmt-sdmmc.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include -- 2.30.2