diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-07-20 10:20:03 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-07-25 10:24:31 +0300 |
commit | 466ae77a8cd45fa1a0bef370ca18782a1ed5aac2 (patch) | |
tree | 67a86012e76f3d2f86ab5c29415a3434c7d05439 /drivers/staging/media/tegra-video | |
parent | c8f0e924902d6b54fc3b01af18604b54eef98d1b (diff) | |
download | linux-466ae77a8cd45fa1a0bef370ca18782a1ed5aac2.tar.xz |
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 <hverkuil-cisco@xs4all.nl>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Diffstat (limited to 'drivers/staging/media/tegra-video')
-rw-r--r-- | drivers/staging/media/tegra-video/vip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/media/tegra-video/vip.c b/drivers/staging/media/tegra-video/vip.c index a1ab886acc18..bc5fc82a7702 100644 --- a/drivers/staging/media/tegra-video/vip.c +++ b/drivers/staging/media/tegra-video/vip.c @@ -20,6 +20,7 @@ #include <media/v4l2-fwnode.h> #include "vip.h" +#include "video.h" static inline struct tegra_vip *host1x_client_to_vip(struct host1x_client *client) { |