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: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
b558ce56b4
commit
c7097c80ca
|
@ -17,6 +17,7 @@
|
|||
#include <linux/fwnode.h>
|
||||
#include <linux/list.h>
|
||||
#include <linux/media.h>
|
||||
#include <linux/minmax.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
/* Enums used internally at the media controller to represent graphs */
|
||||
|
|
Loading…
Reference in New Issue