summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2013-12-13 08:58:37 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-12-18 10:36:02 -0200
commit0149a2e1498dba7937dd14bf924dedd6f0c15587 (patch)
tree8f9bb91f3a7a02fb34c789424cced521913d07d4 /include/media
parent17f335c304ac19d9b11814238fe8a7519d80e2ff (diff)
downloadop-kernel-dev-0149a2e1498dba7937dd14bf924dedd6f0c15587.zip
op-kernel-dev-0149a2e1498dba7937dd14bf924dedd6f0c15587.tar.gz
[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/media')
-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 10df551..e004591 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>
OpenPOWER on IntegriCloud