From: Anton Tikhomirov Date: Tue, 26 Nov 2013 16:08:58 +0000 (-0600) Subject: usb: phy: fsm: protect against multiple inclusions X-Git-Tag: upstream/snapshot3+hdmi~3626^2~90^2~93 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d49dd788840ff802421ed7412e967b659fe9ca58;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git usb: phy: fsm: protect against multiple inclusions if this header is included twice, we would have redefinition build errors. Fix this. Signed-off-by: Anton Tikhomirov Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/phy/phy-fsm-usb.h b/drivers/usb/phy/phy-fsm-usb.h index 32f86a3..200f4d1 100644 --- a/drivers/usb/phy/phy-fsm-usb.h +++ b/drivers/usb/phy/phy-fsm-usb.h @@ -15,6 +15,9 @@ * 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifndef __LINUX_USB_OTG_FSM_H +#define __LINUX_USB_OTG_FSM_H + #include #include @@ -237,3 +240,5 @@ static inline int otg_start_gadget(struct otg_fsm *fsm, int on) } int otg_statemachine(struct otg_fsm *fsm); + +#endif /* __LINUX_USB_OTG_FSM_H */