diff options
author | Tom Rix <trix@redhat.com> | 2021-01-18 16:45:13 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-01-27 15:46:05 +0300 |
commit | 031b9212eeee365443aaef013360ea6cded7b2c4 (patch) | |
tree | e7436cf4532c5296dfc4707e81ad361694ac987a /drivers/media/v4l2-core | |
parent | a04e187d231086a1313fd635ac42bdbc997137ad (diff) | |
download | linux-031b9212eeee365443aaef013360ea6cded7b2c4.tar.xz |
media: pxa_camera: declare variable when DEBUG is defined
When DEBUG is defined this error occurs
drivers/media/platform/pxa_camera.c:1410:7: error:
āiā undeclared (first use in this function)
for (i = 0; i < vb->num_planes; i++)
^
The variable 'i' is missing, so declare it.
Fixes: 6f28435d1c15 ("[media] media: platform: pxa_camera: trivial move of functions")
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/v4l2-core')
0 files changed, 0 insertions, 0 deletions