diff options
author | matt mooney <mfm@muteddisk.com> | 2011-05-11 22:33:43 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-12 09:17:56 -0700 |
commit | 7aaacb43ed97714ff0f7f77f306f24b6e564ad03 (patch) | |
tree | 60f25e8b247ca6f296f9e4456da48db8222d061a /drivers/staging/usbip/usbip_common.h | |
parent | fc184a35d90927fb82a13043a95c5420335ab824 (diff) |
staging: usbip: fix header includes
Modify header directives to include what is needed by each file and
not already included in its own header.
Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/usbip/usbip_common.h')
-rw-r--r-- | drivers/staging/usbip/usbip_common.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/drivers/staging/usbip/usbip_common.h b/drivers/staging/usbip/usbip_common.h index aa5d576abb6..fd84ab2f9c2 100644 --- a/drivers/staging/usbip/usbip_common.h +++ b/drivers/staging/usbip/usbip_common.h @@ -17,14 +17,18 @@ * USA. */ -#ifndef __VHCI_COMMON_H -#define __VHCI_COMMON_H +#ifndef __USBIP_COMMON_H +#define __USBIP_COMMON_H -#include <linux/version.h> #include <linux/compiler.h> +#include <linux/device.h> +#include <linux/interrupt.h> +#include <linux/net.h> +#include <linux/printk.h> +#include <linux/spinlock.h> +#include <linux/types.h> #include <linux/usb.h> -#include <asm/byteorder.h> -#include <net/sock.h> +#include <linux/wait.h> #define USBIP_VERSION "1.0.0" @@ -366,4 +370,4 @@ void usbip_stop_eh(struct usbip_device *ud); void usbip_event_add(struct usbip_device *ud, unsigned long event); int usbip_event_happened(struct usbip_device *ud); -#endif +#endif /* __USBIP_COMMON_H */ |