]> git.baikalelectronics.ru Git - kernel.git/commit
media: staging: media: zoran: setup videocodec header for debugging macros
authorIan Cowan <ian@linux.cowan.aero>
Fri, 6 May 2022 05:28:19 +0000 (06:28 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 20 Jun 2022 09:30:29 +0000 (10:30 +0100)
commit189a17e1d0a017e2c7adad83c3bca8d3cc16d7d1
treefd5f8ce80e91d706d39b01e562384f8761f5fa9c
parent8989d15c0c172c9fb8023d3035c1266b9ee2979c
media: staging: media: zoran: setup videocodec header for debugging macros

This adds inline functions in the videocodec header file to convert the
videocodec and videocodec_master structs to their respective contained
zoran struct. This will be used to pass the zoran struct to the
zrdev_XXX() macros defined in the zoran header.

In the zoran header, the new include is added to ensure all variables
can be completely defined with the zoran and videocodec includes where
they are located.

Signed-off-by: Ian Cowan <ian@linux.cowan.aero>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/zoran/videocodec.h
drivers/staging/media/zoran/zoran.h