drm/imx: ipuv3-plane: Include "imx-drm.h" header file
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 13 Feb 2018 19:11:35 +0000 (17:11 -0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 15 Mar 2018 16:52:40 +0000 (17:52 +0100)
ipu_planes_assign_pre() prototype is in "imx-drm.h" header file, so
include it to fix the following sparse warning:

drivers/gpu/drm/imx/ipuv3-plane.c:729:5: warning: symbol 'ipu_planes_assign_pre' was not declared. Should it be static?

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/ipuv3-plane.c

index d9f0a76..d9113fa 100644 (file)
@@ -22,6 +22,7 @@
 #include <drm/drm_plane_helper.h>
 
 #include "video/imx-ipu-v3.h"
+#include "imx-drm.h"
 #include "ipuv3-plane.h"
 
 struct ipu_plane_state {