summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-07-11 16:09:05 +0300
committerChris Ball <cjb@laptop.org>2013-08-24 22:50:10 -0400
commit031cd037af74b07792e37d0d4721063f7b4b44c7 (patch)
tree9a138131b4df59a9037f22895f89a5a19a28a1fd
parent476d79f1427798deb5107ad142cdea7d46883b4a (diff)
downloadblackbird-obmc-linux-031cd037af74b07792e37d0d4721063f7b4b44c7.tar.gz
blackbird-obmc-linux-031cd037af74b07792e37d0d4721063f7b4b44c7.zip
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>
-rw-r--r--drivers/mmc/host/omap_hsmmc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index 1865321465c4..c937ffc61bc2 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/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>
OpenPOWER on IntegriCloud