mmc: sdhci-cadence: Include mmc.h
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 30 Dec 2016 12:47:21 +0000 (13:47 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:19:59 +0000 (13:19 +0100)
Don't rely on host.h to include the mmc.h header, but instead include it
explicitly because the driver depends on it.

Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
drivers/mmc/host/sdhci-cadence.c

index 4b0ecb981842248b1cc4ea8edaf35dc4bac753e1..31e786d1b71ab2a52606a96c38ba2dad0e912125 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/iopoll.h>
 #include <linux/module.h>
 #include <linux/mmc/host.h>
+#include <linux/mmc/mmc.h>
 
 #include "sdhci-pltfm.h"