From: Fabio Estevam Date: Tue, 13 Feb 2018 19:11:35 +0000 (-0200) Subject: drm/imx: ipuv3-plane: Include "imx-drm.h" header file X-Git-Tag: v4.16-rc7~20^2~4^2~1 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=a71d3241db6b9430e613cff168611bad97297ba2;p=uclinux-h8%2Flinux.git 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 Signed-off-by: Philipp Zabel --- 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 #include "video/imx-ipu-v3.h" +#include "imx-drm.h" #include "ipuv3-plane.h" struct ipu_plane_state {