]> git.baikalelectronics.ru Git - kernel.git/commit
media: mc: Provide a helper for setting bus_info field
authorSakari Ailus <sakari.ailus@linux.intel.com>
Sat, 22 Jan 2022 11:25:57 +0000 (11:25 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 24 Apr 2022 07:04:27 +0000 (08:04 +0100)
commit9fb9e78eebcc5c20f251d26615ae23b6887a3f4a
treebcd145a6a0de39df91259acfa524c28d205f3546
parenta7b94133666169e5226903b3069dddedbc0609a1
media: mc: Provide a helper for setting bus_info field

The bus_info or a similar field exists in a lot of structs, yet drivers
tend to set the value of that field by themselves in a determinable way.
Thus provide a helper for doing this. To be used in subsequent patches.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
include/media/media-device.h