]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mmc: omap_hsmmc: fix dependency on indirect header inclusion
authorFelipe Balbi <balbi@ti.com>
Thu, 11 Jul 2013 13:09:05 +0000 (16:09 +0300)
committerChris Ball <cjb@laptop.org>
Sun, 25 Aug 2013 02:50:10 +0000 (22:50 -0400)
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>
drivers/mmc/host/omap_hsmmc.c

index 1865321465c40471751f16c6a50ba417cd07171c..c937ffc61bc24eab03e7bed729d05c6df7395452 100644 (file)
@@ -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>