]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: media.h: remove unneeded <stdint.h> inclusion
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 28 Mar 2022 16:01:53 +0000 (17:01 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 24 Apr 2022 07:27:37 +0000 (08:27 +0100)
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 <masahiroy@kernel.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
include/uapi/linux/media.h

index afbae7213d35f26fb6213ac738f4d94a6724925a..3ddadaea849f945913ebfc80d6725cd4d410e086 100644 (file)
@@ -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>