On Thu, Nov 07, 2013 at 06:02:29PM +0900, Anton Tikhomirov wrote:
> This patchs adds include guard to avoid double inclusion of the header.
> 
> Signed-off-by: Anton Tikhomirov <av.tikhomi...@samsung.com>
> ---
>  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 */

meld this to the patch which introduced this problem. You just created
this file, right ?

-- 
balbi

Attachment: signature.asc
Description: Digital signature

Reply via email to