Skip to content

Commit

Permalink
media: camss: vfe: Fix to_vfe() macro member name
Browse files Browse the repository at this point in the history
Use the member name which is "line" instead of the pointer argument.

Signed-off-by: Todor Tomov <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
todortomov authored and mchehab committed Aug 2, 2018
1 parent c628e78 commit c9896b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/platform/qcom/camss/camss-vfe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c9896b6

Please sign in to comment.