aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/media.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-03-05 15:14:33 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 03:53:56 -0400
commit474966ee01cc877e28abed3ada5b48a963c58695 (patch)
tree8482ab4d3802f66318d30c81a7b2bf1f46101e94 /include/linux/media.h
parent4b0ec19e02fabdd09fc2f4754304894bbefb3f45 (diff)
[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>
Diffstat (limited to 'include/linux/media.h')
-rw-r--r--include/linux/media.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/media.h b/include/linux/media.h
index 7ed23b43f43b..0ef883327de2 100644
--- a/include/linux/media.h
+++ b/include/linux/media.h
@@ -124,9 +124,9 @@ struct media_links_enum {
124 __u32 reserved[4]; 124 __u32 reserved[4];
125}; 125};
126 126
127#define MEDIA_IOC_DEVICE_INFO _IOWR('M', 1, struct media_device_info) 127#define MEDIA_IOC_DEVICE_INFO _IOWR('|', 0x00, struct media_device_info)
128#define MEDIA_IOC_ENUM_ENTITIES _IOWR('M', 2, struct media_entity_desc) 128#define MEDIA_IOC_ENUM_ENTITIES _IOWR('|', 0x01, struct media_entity_desc)
129#define MEDIA_IOC_ENUM_LINKS _IOWR('M', 3, struct media_links_enum) 129#define MEDIA_IOC_ENUM_LINKS _IOWR('|', 0x02, struct media_links_enum)
130#define MEDIA_IOC_SETUP_LINK _IOWR('M', 4, struct media_link_desc) 130#define MEDIA_IOC_SETUP_LINK _IOWR('|', 0x03, struct media_link_desc)
131 131
132#endif /* __LINUX_MEDIA_H */ 132#endif /* __LINUX_MEDIA_H */