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)
commit0eeded3671dff9648a31d0573c9fe54bc0fd959f
treed231964f68b6f7f3e1824af5bfc92a5e84406d3e
parentbf263f64e804a74ace9bd37f49341d68a653e5e6
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