]> git.baikalelectronics.ru Git - kernel.git/commit
media: v4l2-fwnode: Include v4l2_fwnode_bus_type
authorDaniel Scally <djrscally@gmail.com>
Thu, 7 Jan 2021 13:28:37 +0000 (14:28 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 26 Jan 2021 18:36:31 +0000 (19:36 +0100)
commit7518406f749ced67da72b5ab1857e8c2b4195a87
treed231964f68b6f7f3e1824af5bfc92a5e84406d3e
parent8e610379f293ace61c57c1909493ab420f2a987d
media: v4l2-fwnode: Include v4l2_fwnode_bus_type

V4L2 fwnode bus types are enumerated in v4l2-fwnode.c, meaning they aren't
available to the rest of the kernel. Move the enum to the corresponding
header so that I can use the label to refer to those values.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Daniel Scally <djrscally@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/v4l2-core/v4l2-fwnode.c
include/media/v4l2-fwnode.h