From: Tobias Klauser Date: Mon, 22 Aug 2011 06:53:28 +0000 (+0200) Subject: staging: usbip: Add header guards to stub.h and vhci.h X-Git-Tag: MMI-PSA29.97-13-9~18234^2^2~864^2~175 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=306dac699e02cb399f0c2546df8cb9f5bbee572c;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/usbip/stub.h b/drivers/staging/usbip/stub.h index 132adc57ebc1..d4073684eacd 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 #include #include @@ -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 */ 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 #include #include @@ -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 */