summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorTodor Tomov2018-07-25 18:38:21 +0200
committerMauro Carvalho Chehab2018-08-02 12:14:23 +0200
commitc9896b655177892cfaed2c0910fd55f44772ecad (patch)
treeff285f8e2f5d2174929b5d368ff07695c0e50311 /drivers/media
parentmedia: camss: csid: Configure data type and decode format properly (diff)
downloadkernel-qcow2-linux-c9896b655177892cfaed2c0910fd55f44772ecad.tar.gz
kernel-qcow2-linux-c9896b655177892cfaed2c0910fd55f44772ecad.tar.xz
kernel-qcow2-linux-c9896b655177892cfaed2c0910fd55f44772ecad.zip
media: camss: vfe: Fix to_vfe() macro member name
Use the member name which is "line" instead of the pointer argument. Signed-off-by: Todor Tomov <todor.tomov@linaro.org> Signed-off-by: Hans Verkuil <hansverk@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/platform/qcom/camss/camss-vfe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/qcom/camss/camss-vfe.c b/drivers/media/platform/qcom/camss/camss-vfe.c
index 256dc2d42411..51ad3f8ce73d 100644
--- a/drivers/media/platform/qcom/camss/camss-vfe.c
+++ b/drivers/media/platform/qcom/camss/camss-vfe.c
@@ -30,7 +30,7 @@
((const struct vfe_line (*)[]) &(ptr_line[-(ptr_line->id)]))
#define to_vfe(ptr_line) \
- container_of(vfe_line_array(ptr_line), struct vfe_device, ptr_line)
+ container_of(vfe_line_array(ptr_line), struct vfe_device, line)
#define VFE_0_HW_VERSION 0x000