summaryrefslogtreecommitdiffstats
path: root/drivers/staging/usbip/vhci.h
diff options
context:
space:
mode:
authorTobias Klauser2011-08-22 08:53:28 +0200
committerGreg Kroah-Hartman2011-08-23 23:42:34 +0200
commit306dac699e02cb399f0c2546df8cb9f5bbee572c (patch)
tree4690c9d8bd4c3c3b41d2f84d7457fd6b23d4f80f /drivers/staging/usbip/vhci.h
parentstaging: usbip: add a usbip protocol document (diff)
downloadkernel-qcow2-linux-306dac699e02cb399f0c2546df8cb9f5bbee572c.tar.gz
kernel-qcow2-linux-306dac699e02cb399f0c2546df8cb9f5bbee572c.tar.xz
kernel-qcow2-linux-306dac699e02cb399f0c2546df8cb9f5bbee572c.zip
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/vhci.h')
-rw-r--r--drivers/staging/usbip/vhci.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/staging/usbip/vhci.h b/drivers/staging/usbip/vhci.h
index 71a586e00fd7..88b32981cf1f 100644
--- a/drivers/staging/usbip/vhci.h
+++ b/drivers/staging/usbip/vhci.h
@@ -8,6 +8,9 @@
*
*/
+#ifndef __USBIP_VHCI_H
+#define __USBIP_VHCI_H
+
#include <linux/device.h>
#include <linux/list.h>
#include <linux/spinlock.h>
@@ -129,3 +132,5 @@ static inline struct device *vhci_dev(struct vhci_hcd *vhci)
{
return vhci_to_hcd(vhci)->self.controller;
}
+
+#endif /* __USBIP_VHCI_H */