From: Hans Verkuil Date: Thu, 20 Jul 2023 07:20:03 +0000 (+0200) Subject: staging: media: tegra-video: include video.h header X-Git-Tag: v6.6.7~2014^2~248 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=466ae77a8cd45fa1a0bef370ca18782a1ed5aac2;p=platform%2Fkernel%2Flinux-starfive.git staging: media: tegra-video: include video.h header This tells sparse that tegra_vip_driver is actually used, and so avoids this warning: drivers/staging/media/tegra-video/vip.c:280:31: warning: 'tegra_vip_driver' defined but not used [-Wunused-variable] 280 | static struct platform_driver tegra_vip_driver = { | ^~~~~~~~~~~~~~~~ Signed-off-by: Hans Verkuil Reviewed-by: Luca Ceresoli --- diff --git a/drivers/staging/media/tegra-video/vip.c b/drivers/staging/media/tegra-video/vip.c index a1ab886..bc5fc82 100644 --- a/drivers/staging/media/tegra-video/vip.c +++ b/drivers/staging/media/tegra-video/vip.c @@ -20,6 +20,7 @@ #include #include "vip.h" +#include "video.h" static inline struct tegra_vip *host1x_client_to_vip(struct host1x_client *client) {