mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 21:21:09 +00:00
[media] media: Pick a free ioctls range
Pick an unused range of ioctls in Documentation/ioctl/ioctl-number.txt and use it for the MEDIA_IOC_* ioctls. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
4b0ec19e02
commit
474966ee01
2 changed files with 5 additions and 4 deletions
|
@ -124,9 +124,9 @@ struct media_links_enum {
|
|||
__u32 reserved[4];
|
||||
};
|
||||
|
||||
#define MEDIA_IOC_DEVICE_INFO _IOWR('M', 1, struct media_device_info)
|
||||
#define MEDIA_IOC_ENUM_ENTITIES _IOWR('M', 2, struct media_entity_desc)
|
||||
#define MEDIA_IOC_ENUM_LINKS _IOWR('M', 3, struct media_links_enum)
|
||||
#define MEDIA_IOC_SETUP_LINK _IOWR('M', 4, struct media_link_desc)
|
||||
#define MEDIA_IOC_DEVICE_INFO _IOWR('|', 0x00, struct media_device_info)
|
||||
#define MEDIA_IOC_ENUM_ENTITIES _IOWR('|', 0x01, struct media_entity_desc)
|
||||
#define MEDIA_IOC_ENUM_LINKS _IOWR('|', 0x02, struct media_links_enum)
|
||||
#define MEDIA_IOC_SETUP_LINK _IOWR('|', 0x03, struct media_link_desc)
|
||||
|
||||
#endif /* __LINUX_MEDIA_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue