diff options
author | Harald Welte | 2005-09-03 11:27:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2005-09-12 21:23:52 +0200 |
commit | ce441594e965e32965432404cfaba73e8fbc6ff7 (patch) | |
tree | 40cec142b4b90fd13e9a376c2aeb9bb7387f9223 /include/linux/usbdevice_fs.h | |
parent | [PATCH] USB: usb-storage: Add unusual_devs entry for Neuros Audio MP3 player (diff) | |
download | kernel-qcow2-linux-ce441594e965e32965432404cfaba73e8fbc6ff7.tar.gz kernel-qcow2-linux-ce441594e965e32965432404cfaba73e8fbc6ff7.tar.xz kernel-qcow2-linux-ce441594e965e32965432404cfaba73e8fbc6ff7.zip |
[PATCH] USB: fix usbdevice_fs header breakage
[USBDEVFS] fix inclusion of <linux/compat.h> to avoud header mess
Without moving the include of compat.h down, userspace programs that use
usbdevice_fs.h end up including half the kernel includes (and eventually
fail to compile).
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/usbdevice_fs.h')
-rw-r--r-- | include/linux/usbdevice_fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usbdevice_fs.h b/include/linux/usbdevice_fs.h index fb57c2217468..9facf733800c 100644 --- a/include/linux/usbdevice_fs.h +++ b/include/linux/usbdevice_fs.h @@ -32,7 +32,6 @@ #define _LINUX_USBDEVICE_FS_H #include <linux/types.h> -#include <linux/compat.h> /* --------------------------------------------------------------------- */ @@ -125,6 +124,7 @@ struct usbdevfs_hub_portinfo { }; #ifdef CONFIG_COMPAT +#include <linux/compat.h> struct usbdevfs_urb32 { unsigned char type; unsigned char endpoint; |