diff options
author | Sakari Ailus <sakari.ailus@iki.fi> | 2016-02-22 21:47:04 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-03-03 17:02:44 +0100 |
commit | 0629e991a25a9b56a70f9f0c327aad8ae1471dbf (patch) | |
tree | 6a611194e57a9052dab71683d237a024511ac304 /include | |
parent | [media] usb: musb: sunxi: support module autoloading (diff) | |
download | linux-0629e991a25a9b56a70f9f0c327aad8ae1471dbf.tar.xz linux-0629e991a25a9b56a70f9f0c327aad8ae1471dbf.zip |
[media] media: Move media_get_uptr() macro out of the media.h user space header
The media_get_uptr() macro is mostly useful only for the IOCTL handling
code in media-device.c so move it there.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/media.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h index 79960aefd356..71fb8e3dce06 100644 --- a/include/uapi/linux/media.h +++ b/include/uapi/linux/media.h @@ -375,11 +375,6 @@ struct media_v2_topology { __u64 ptr_links; }; -static inline void __user *media_get_uptr(__u64 arg) -{ - return (void __user *)(uintptr_t)arg; -} - /* ioctls */ #define MEDIA_IOC_DEVICE_INFO _IOWR('|', 0x00, struct media_device_info) |