public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] videodev2.h patchlet
@ 2004-10-28 10:18 Stelian Pop
  0 siblings, 0 replies; 2+ messages in thread
From: Stelian Pop @ 2004-10-28 10:18 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Gerd Knorr

Hi,

The following patchlet to videodev2.h brings in the "__user" definition
from linux/compiler.h, making it suitable for inclusion in both kernel
or user code.

Stelian.

Signed-off-by: Stelian Pop <stelian@popies.net>

===== include/linux/videodev2.h 1.8 vs edited =====
--- 1.8/include/linux/videodev2.h	2004-07-12 10:01:15 +02:00
+++ edited/include/linux/videodev2.h	2004-10-21 19:12:18 +02:00
@@ -16,6 +16,7 @@
 #ifdef __KERNEL__
 #include <linux/time.h> /* need struct timeval */
 #endif
+#include <linux/compiler.h> /* need __user */
 
 /*
  *	M I S C E L L A N E O U S
-- 
Stelian Pop <stelian@popies.net>    

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

* [patch] videodev2.h patchlet
@ 2004-11-08  8:54 Gerd Knorr
  0 siblings, 0 replies; 2+ messages in thread
From: Gerd Knorr @ 2004-11-08  8:54 UTC (permalink / raw)
  To: Andrew Morton, Kernel List

Hi,

The following patchlet to videodev2.h brings in the "__user" definition
from linux/compiler.h, making it suitable for inclusion in both kernel
or user code.

Stelian.

Signed-off-by: Stelian Pop <stelian@popies.net>
Signed-off-by: Gerd Knorr <kraxel@bytesex.org>
---
 include/linux/videodev2.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- 1.8/include/linux/videodev2.h	2004-07-12 10:01:15 +02:00
+++ edited/include/linux/videodev2.h	2004-10-21 19:12:18 +02:00
@@ -16,6 +16,7 @@
 #ifdef __KERNEL__
 #include <linux/time.h> /* need struct timeval */
 #endif
+#include <linux/compiler.h> /* need __user */
 
 /*
  *	M I S C E L L A N E O U S

-- 
#define printk(args...) fprintf(stderr, ## args)

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

end of thread, other threads:[~2004-11-08  9:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-08  8:54 [patch] videodev2.h patchlet Gerd Knorr
  -- strict thread matches above, loose matches on Subject: below --
2004-10-28 10:18 [PATCH] " Stelian Pop

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