Skip to contentSkip to conversation

media: Include linux/kernel.h for DIV_ROUND_UP()

PATCH New Sakari Ailus 1 participant 1 message Dec 13, 2013

Subsystems (2)
lore
Share & tools
lore

Sakari Ailus

author maintainer
#0 lore raw

PATCH 1/1 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.

---
 include/media/media-entity.h | 1 +
 1 file changed, 1 insertion(+)
include/media/media-entity.h +1 -0
index 10df551..e004591 100644
@@ -24,6 +24,7 @@
 #define _MEDIA_ENTITY_H
 
 #include <linux/bitops.h>
+#include <linux/kernel.h>
 #include <linux/list.h>
 #include <linux/media.h>
 
Signature · 1 line
1.8.3.2