diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-12-17 06:07:38 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-01-11 09:19:24 -0500 |
commit | 7c9d6731acf2816cd94e6c51f02ac8348dc7bb7e (patch) | |
tree | f226e9fec7f7111be6c3121e28241431d95d2f0b /include | |
parent | ba0dd729bfc09e51af238a630deba70205442afe (diff) |
[media] uapi/media.h: Use u32 for the number of graph objects
While we need to keep a u64 alignment to avoid compat32 issues,
having the number of entities/pads/links/interfaces represented
by an u64 is incoherent with the ID number, with is an u32.
In order to make it coherent, change those quantities to u32.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/media.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h index cacfceb0d81d..5dbb208e5451 100644 --- a/include/uapi/linux/media.h +++ b/include/uapi/linux/media.h | |||
@@ -330,16 +330,20 @@ struct media_v2_link { | |||
330 | struct media_v2_topology { | 330 | struct media_v2_topology { |
331 | __u64 topology_version; | 331 | __u64 topology_version; |
332 | 332 | ||
333 | __u64 num_entities; | 333 | __u32 num_entities; |
334 | __u32 reserved1; | ||
334 | __u64 ptr_entities; | 335 | __u64 ptr_entities; |
335 | 336 | ||
336 | __u64 num_interfaces; | 337 | __u32 num_interfaces; |
338 | __u32 reserved2; | ||
337 | __u64 ptr_interfaces; | 339 | __u64 ptr_interfaces; |
338 | 340 | ||
339 | __u64 num_pads; | 341 | __u32 num_pads; |
342 | __u32 reserved3; | ||
340 | __u64 ptr_pads; | 343 | __u64 ptr_pads; |
341 | 344 | ||
342 | __u64 num_links; | 345 | __u32 num_links; |
346 | __u32 reserved4; | ||
343 | __u64 ptr_links; | 347 | __u64 ptr_links; |
344 | }; | 348 | }; |
345 | 349 | ||