summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/imx
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2018-02-13 20:11:35 +0100
committerPhilipp Zabel <p.zabel@pengutronix.de>2018-03-15 17:52:40 +0100
commita71d3241db6b9430e613cff168611bad97297ba2 (patch)
treecbfed3585723c841e200a284370cb686412fdfcf /drivers/gpu/drm/imx
parentdrm/imx: ipuv3-plane: Make functions static when possible (diff)
downloadlinux-a71d3241db6b9430e613cff168611bad97297ba2.tar.xz
linux-a71d3241db6b9430e613cff168611bad97297ba2.zip
drm/imx: ipuv3-plane: Include "imx-drm.h" header file
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>
Diffstat (limited to 'drivers/gpu/drm/imx')
-rw-r--r--drivers/gpu/drm/imx/ipuv3-plane.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/imx/ipuv3-plane.c b/drivers/gpu/drm/imx/ipuv3-plane.c
index d9f0a7684ec8..d9113faaa62f 100644
--- a/drivers/gpu/drm/imx/ipuv3-plane.c
+++ b/drivers/gpu/drm/imx/ipuv3-plane.c
@@ -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 {