aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/usbip/stub.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2011-08-22 08:53:28 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-23 14:42:34 -0700
commit306dac699e02cb399f0c2546df8cb9f5bbee572c (patch)
tree4690c9d8bd4c3c3b41d2f84d7457fd6b23d4f80f /drivers/staging/usbip/stub.h
parentc8742cf07d01eadb8254eac76e4394229cd480d9 (diff)
downloadlinaro-lsk-306dac699e02cb399f0c2546df8cb9f5bbee572c.tar.gz
staging: usbip: Add header guards to stub.h and vhci.h
stub.h and vhci.h are missing proper #ifndef/#define header guards, so add them. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/usbip/stub.h')
-rw-r--r--drivers/staging/usbip/stub.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/staging/usbip/stub.h b/drivers/staging/usbip/stub.h
index 132adc57ebc..d4073684eac 100644
--- a/drivers/staging/usbip/stub.h
+++ b/drivers/staging/usbip/stub.h
@@ -17,6 +17,9 @@
* USA.
*/
+#ifndef __USBIP_STUB_H
+#define __USBIP_STUB_H
+
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
@@ -106,3 +109,5 @@ void stub_enqueue_ret_unlink(struct stub_device *sdev, __u32 seqnum,
__u32 status);
void stub_complete(struct urb *urb);
int stub_tx_loop(void *data);
+
+#endif /* __USBIP_STUB_H */