mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-02 20:13:04 -05:00
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>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user