The patch number 9808 was added via Laurent Pinchart <laurent.pinch...@skynet.be> to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward compatible with older kernels. Compatibility modifications will be removed before inclusion into the mainstream Kernel If anyone has any objections, please let us know by sending a message to: v4l-dvb-maintai...@linuxtv.org ------ From: Laurent Pinchart <laurent.pinch...@skynet.be> uvcvideo: Prevent compat.h from being included in userspace code. When used in userspace code, the uvcvideo.h header shouldn't pull compat.h. Make sure this won't happen by moving the #include to a __KERNEL__ protected section. Priority: normal Signed-off-by: Laurent Pinchart <laurent.pinch...@skynet.be> --- linux/drivers/media/video/uvc/uvcvideo.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -r 534afb274f2f -r ffcead3b88b8 linux/drivers/media/video/uvc/uvcvideo.h --- a/linux/drivers/media/video/uvc/uvcvideo.h Sun Dec 14 01:11:29 2008 -0200 +++ b/linux/drivers/media/video/uvc/uvcvideo.h Tue Nov 25 22:26:38 2008 +0100 @@ -3,8 +3,6 @@ #include <linux/kernel.h> #include <linux/videodev2.h> - -#include "compat.h" /* * Dynamic controls @@ -69,6 +67,7 @@ struct uvc_xu_control { #ifdef __KERNEL__ #include <linux/poll.h> +#include "compat.h" /* -------------------------------------------------------------------------- * UVC constants --- Patch is available at: http://linuxtv.org/hg/v4l-dvb/rev/ffcead3b88b88083e6684e046d6f71106163c1b8 _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits