Эх сурвалжийг харах

mmc: sdhci-cadence: Include mmc.h

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>
Ulf Hansson 8 жил өмнө
parent
commit
963836ad8f

+ 1 - 0
drivers/mmc/host/sdhci-cadence.c

@@ -17,6 +17,7 @@
 #include <linux/iopoll.h>
 #include <linux/iopoll.h>
 #include <linux/module.h>
 #include <linux/module.h>
 #include <linux/mmc/host.h>
 #include <linux/mmc/host.h>
+#include <linux/mmc/mmc.h>
 
 
 #include "sdhci-pltfm.h"
 #include "sdhci-pltfm.h"