media: media.h: remove unneeded <stdint.h> inclusion
Subsystems (2)
PATCH 1/1 media: media.h: remove unneeded <stdint.h> inclusion
Commit b3b7a9f138b7 ("[media] media-device: Use u64 ints for pointers") added this #include <stdint.h>, presumably in order to use uintptr_t.
Now that it is gone, we can compile this for userspace without <stdint.h>.
Signed-off-by Masahiro Yamada <[email protected]>
---
include/uapi/linux/media.h | 3 --- 1 file changed, 3 deletions(-)
include/uapi/linux/media.h +0 -3
@@ -20,9 +20,6 @@#ifndef __LINUX_MEDIA_H#define __LINUX_MEDIA_H -#ifndef __KERNEL__ -#include <stdint.h> -#endif #include <linux/ioctl.h> #include <linux/types.h>
Signature · 1 line
2.32.0
Hi Yamada-san,
Thank you for the patch.
Quoted 6 lines · Masahiro Yamada
Commit
b3b7a9f138b7("[media] media-device: Use u64 ints for pointers") added this #include <stdint.h>, presumably in order to useuintptr_t.Now that it is gone, we can compile this for userspace without <
stdint.h>.Signed-off-by Masahiro Yamada <[email protected]>
Reviewed-by Laurent Pinchart <[email protected]>
Quoted 19 lines
---
include/uapi/linux/media.h | 3 --- 1 file changed, 3 deletions(-)include/uapi/linux/media.h +0
-3@@ -20,9 +20,6 @@#ifndef __LINUX_MEDIA_H#define __LINUX_MEDIA_H -#ifndef __KERNEL__ -#include <stdint.h> -#endif #include <linux/ioctl.h> #include <linux/types.h>
Signature · 3 lines
Regards, Laurent Pinchart