@ -1,29 +0,0 @@ |
|||||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|
||||
# |
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
||||
# Please add additional copyright information _after_ the line containing |
|
||||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|
||||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|
||||
# |
|
||||
# ROCK Linux: rock-src/package/base/linux/linux26/71-videodev-h-__user.patch |
|
||||
# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf |
|
||||
# |
|
||||
# This patch file is dual-licensed. It is available under the license the |
|
||||
# patched project is licensed under, as long as it is an OpenSource license |
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|
||||
# of the GNU General Public License as published by the Free Software |
|
||||
# Foundation; either version 2 of the License, or (at your option) any later |
|
||||
# version. |
|
||||
# |
|
||||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|
||||
|
|
||||
--- ./include/linux/videodev.h.orig 2004-09-25 13:51:51.701259400 +0200
|
|
||||
+++ ./include/linux/videodev.h 2004-09-25 13:52:05.029233240 +0200
|
|
||||
@@ -3,6 +3,7 @@
|
|
||||
|
|
||||
#include <linux/types.h> |
|
||||
#include <linux/version.h> |
|
||||
+#include <linux/compiler.h>
|
|
||||
|
|
||||
#define HAVE_V4L2 1 |
|
||||
#include <linux/videodev2.h> |
|
@ -1,17 +0,0 @@ |
|||||
--- linux/include/linux/joystick.h~ 2005-10-19 20:35:13.000000000 +0200
|
|
||||
+++ linux/include/linux/joystick.h 2005-10-20 20:41:04.000000000 +0200
|
|
||||
@@ -134,6 +134,7 @@
|
|
||||
struct JS_DATA_TYPE JS_CORR; |
|
||||
}; |
|
||||
|
|
||||
+#ifdef __KERNEL__
|
|
||||
#if BITS_PER_LONG == 64 |
|
||||
#define JS_DATA_SAVE_TYPE JS_DATA_SAVE_TYPE_64 |
|
||||
#elif BITS_PER_LONG == 32 |
|
||||
@@ -141,5 +142,6 @@
|
|
||||
#else |
|
||||
#error Unexpected BITS_PER_LONG |
|
||||
#endif |
|
||||
+#endif /* __KERNEL__ */
|
|
||||
|
|
||||
#endif /* _LINUX_JOYSTICK_H */ |
|