summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2013-12-13 12:58:37 +0100
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-12-18 13:36:02 +0100
commit0149a2e1498dba7937dd14bf924dedd6f0c15587 (patch)
tree8f9bb91f3a7a02fb34c789424cced521913d07d4 /include
parent[media] it913x: Add support for Avermedia H335 id 0x0335 (diff)
downloadlinux-0149a2e1498dba7937dd14bf924dedd6f0c15587.tar.xz
linux-0149a2e1498dba7937dd14bf924dedd6f0c15587.zip
[media] media: Include linux/kernel.h for DIV_ROUND_UP()
DIV_ROUND_UP() is defined in kernel.h which was not included by media-entity.h. Do exactly that. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/media/media-entity.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/media-entity.h b/include/media/media-entity.h
index 10df55187981..e00459185d20 100644
--- a/include/media/media-entity.h
+++ b/include/media/media-entity.h
@@ -24,6 +24,7 @@
#define _MEDIA_ENTITY_H
#include <linux/bitops.h>
+#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/media.h>