This patchs adds include guard to avoid double inclusion of the header. Signed-off-by: Anton Tikhomirov <av.tikhomirov@xxxxxxxxxxx> --- include/linux/usb/otg_fsm.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/linux/usb/otg_fsm.h b/include/linux/usb/otg_fsm.h index 12ece58..55de52e 100644 --- a/include/linux/usb/otg_fsm.h +++ b/include/linux/usb/otg_fsm.h @@ -15,6 +15,9 @@ * 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifndef __LINUX_USB_OTG_FSM_H +#define __LINUX_USB_OTG_FSM_H + #undef VERBOSE #ifdef VERBOSE @@ -234,3 +237,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 */ -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html