diff options
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/v4l2-async.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/media/v4l2-async.h b/include/media/v4l2-async.h index c3ec6ac75f7e..33e3b2a30ecb 100644 --- a/include/media/v4l2-async.h +++ b/include/media/v4l2-async.h | |||
@@ -22,10 +22,10 @@ struct v4l2_async_notifier; | |||
22 | /* A random max subdevice number, used to allocate an array on stack */ | 22 | /* A random max subdevice number, used to allocate an array on stack */ |
23 | #define V4L2_MAX_SUBDEVS 128U | 23 | #define V4L2_MAX_SUBDEVS 128U |
24 | 24 | ||
25 | enum v4l2_async_bus_type { | 25 | enum v4l2_async_match_type { |
26 | V4L2_ASYNC_BUS_CUSTOM, | 26 | V4L2_ASYNC_MATCH_CUSTOM, |
27 | V4L2_ASYNC_BUS_PLATFORM, | 27 | V4L2_ASYNC_MATCH_DEVNAME, |
28 | V4L2_ASYNC_BUS_I2C, | 28 | V4L2_ASYNC_MATCH_I2C, |
29 | }; | 29 | }; |
30 | 30 | ||
31 | /** | 31 | /** |
@@ -36,11 +36,11 @@ enum v4l2_async_bus_type { | |||
36 | * probed, to a notifier->waiting list | 36 | * probed, to a notifier->waiting list |
37 | */ | 37 | */ |
38 | struct v4l2_async_subdev { | 38 | struct v4l2_async_subdev { |
39 | enum v4l2_async_bus_type bus_type; | 39 | enum v4l2_async_match_type match_type; |
40 | union { | 40 | union { |
41 | struct { | 41 | struct { |
42 | const char *name; | 42 | const char *name; |
43 | } platform; | 43 | } device_name; |
44 | struct { | 44 | struct { |
45 | int adapter_id; | 45 | int adapter_id; |
46 | unsigned short address; | 46 | unsigned short address; |