aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vimc/vimc-core.c
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2019-01-14 12:27:45 +0000
committerMauro Carvalho Chehab <[email protected]>2019-01-21 17:45:01 +0000
commit04ee6d614c0dbe4350c61e8909c2ca01e364884d (patch)
treefc0026080f1856637f15ad84e1c700ea46f5d8b9 /drivers/media/platform/vimc/vimc-core.c
parentmedia: i2c: adv748x: Use devm to allocate the device struct (diff)
downloadkernel-04ee6d614c0dbe4350c61e8909c2ca01e364884d.tar.gz
kernel-04ee6d614c0dbe4350c61e8909c2ca01e364884d.zip
media: vimc: fill in correct driver name in querycap
The driver name as returned in v4l2_capabilities must be vimc, not vimc_capture. Fix this. Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-core.c')
-rw-r--r--drivers/media/platform/vimc/vimc-core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/platform/vimc/vimc-core.c b/drivers/media/platform/vimc/vimc-core.c
index ce809d2e3d53..bf19f1f9795e 100644
--- a/drivers/media/platform/vimc/vimc-core.c
+++ b/drivers/media/platform/vimc/vimc-core.c
@@ -24,7 +24,6 @@
#include "vimc-common.h"
-#define VIMC_PDEV_NAME "vimc"
#define VIMC_MDEV_MODEL_NAME "VIMC MDEV"
#define VIMC_ENT_LINK(src, srcpad, sink, sinkpad, link_flags) { \