Commit c7097c80 authored by Tomi Valkeinen's avatar Tomi Valkeinen Committed by Mauro Carvalho Chehab

media: media-entity.h: add include for min()

./include/media/media-entity.h:595:34: error: implicit declaration of function ‘min’

Include minmax.h to get the definition for min().
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent b558ce56
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include <linux/fwnode.h> #include <linux/fwnode.h>
#include <linux/list.h> #include <linux/list.h>
#include <linux/media.h> #include <linux/media.h>
#include <linux/minmax.h>
#include <linux/types.h> #include <linux/types.h>
/* Enums used internally at the media controller to represent graphs */ /* Enums used internally at the media controller to represent graphs */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment