mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] media: media.h: remove unneeded <stdint.h> inclusion
@ 2022-03-28 16:01 Masahiro Yamada
  2022-03-28 16:21 ` Laurent Pinchart
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2022-03-28 16:01 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, linux-media
  Cc: linux-kernel, Masahiro Yamada, Laurent Pinchart, Sakari Ailus

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>
---

 include/uapi/linux/media.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h
index 200fa8462b90..5754dce922a7 100644
--- a/include/uapi/linux/media.h
+++ b/include/uapi/linux/media.h
@@ -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>
 
-- 
2.32.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-28 16:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-28 16:01 [PATCH] media: media.h: remove unneeded <stdint.h> inclusion Masahiro Yamada
2022-03-28 16:21 ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®