浏览代码

mmc: omap_hsmmc: fix dependency on indirect header inclusion

omap_hsmmc.c depends on <linux/sizes.h> being included indirectly by
another header. Once we enable COMPILE_TEST for this driver, we might
compile under architectures which won't include <linux/sizes.h> for us.
In fact, one such case is x86.

In order to prevent compile breakages, let's explicitly include
<linux/sizes.h>.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Acked-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Felipe Balbi 12 年之前
父节点
当前提交
031cd037af
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/mmc/host/omap_hsmmc.c

+ 1 - 0
drivers/mmc/host/omap_hsmmc.c

@@ -21,6 +21,7 @@
 #include <linux/debugfs.h>
 #include <linux/dmaengine.h>
 #include <linux/seq_file.h>
+#include <linux/sizes.h>
 #include <linux/interrupt.h>
 #include <linux/delay.h>
 #include <linux/dma-mapping.h>