浏览代码

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 年之前
父节点
当前提交
963836ad8f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/mmc/host/sdhci-cadence.c

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

@@ -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"