[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linuxppc-embedded
Subject:    Re: [PATCH 12/14] include/linux/usb/gadget.h : include
From:       Sergei Shtylyov <sshtylyov () mvista ! com>
Date:       2011-08-30 12:57:08
Message-ID: 4E5CDE24.1000705 () ru ! mvista ! com
[Download RAW message or body]

Hello.

On 08/30/2011 03:57 PM, Pratyush Anand wrote:

> gadget.h uses struct device, which has been declared in linux/device.h. So it
> must be included.

> Signed-off-by: Pratyush Anand<pratyush.anand@st.com>
> ---
>   include/linux/usb/gadget.h |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)

> diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h
> index 006412c..32f7b69 100644
> --- a/include/linux/usb/gadget.h
> +++ b/include/linux/usb/gadget.h
> @@ -16,6 +16,7 @@
>   #define __LINUX_USB_GADGET_H
>
>   #include<linux/slab.h>
> +#include<linux/device.h>

    On what tree are you basing? There have been patches accepted in v3.1-rc1, 
which added a bunch of #include's to that file (including <linux/device.h>).

WBR, Sergei
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic