[media] media: Include linux/kernel.h for DIV_ROUND_UP()
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 13 Dec 2013 11:58:37 +0000 (08:58 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 18 Dec 2013 12:36:02 +0000 (10:36 -0200)
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>
include/media/media-entity.h

index 10df55187981979be928ede57d2d2d0b903c03c4..e00459185d2079161424b069c9e9c6bece2210c5 100644 (file)
@@ -24,6 +24,7 @@
 #define _MEDIA_ENTITY_H
 
 #include <linux/bitops.h>
+#include <linux/kernel.h>
 #include <linux/list.h>
 #include <linux/media.h>