diff options
| author | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-08-09 08:41:19 +0000 |
|---|---|---|
| committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-08-09 08:41:19 +0000 |
| commit | 9d829ed05c295df608b4fc108eb1c628fd06fd39 (patch) | |
| tree | c1b27cfe4498f8abef1a61325922906f3e6a32ff /packages/puppy/files/usb-header.patch | |
| parent | 1434b204e16e87b7f59f074f3036d5dcbcf0116f (diff) | |
| parent | 6ccac10beeaaa02a86081bd6179fd57c208ad6b1 (diff) | |
merge of '76e1e69496801009ea0aa69c84f76e858978ab99'
and 'db976a98427dd6a195e2cf167e225de2d0206aea'
Diffstat (limited to 'packages/puppy/files/usb-header.patch')
| -rw-r--r-- | packages/puppy/files/usb-header.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/puppy/files/usb-header.patch b/packages/puppy/files/usb-header.patch new file mode 100644 index 0000000000..3768ff8ff6 --- /dev/null +++ b/packages/puppy/files/usb-header.patch @@ -0,0 +1,20 @@ +--- puppy/usb_io.h.~1.14.~ 2007-02-01 16:39:20.000000000 +1030 ++++ puppy/usb_io.h 2007-03-23 11:47:21.000000000 +1030 +@@ -30,12 +30,13 @@ + #include <linux/types.h> + #include <linux/version.h> + +-#include <linux/usb.h> +-#include <linux/usbdevice_fs.h> +- +-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) ++/* linux/usb_ch9.h wasn't separated out until 2.4.23 */ ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23) + #include "usb_ch9.h" ++#else ++#include "usb.h" + #endif ++#include <linux/usbdevice_fs.h> + + #include "mjd.h" + #include "tf_bytes.h" |
