Sergei Shtylyov <[email protected]> writes:

> This hushes the following warning:
>
> arch/arm/mach-davinci/include/mach/da8xx.h:104: warning: ‘struct 
> platform_device’
> declared inside parameter list
> arch/arm/mach-davinci/include/mach/da8xx.h:104: warning: its scope is only 
> this
> definition or declaration, which is probably not what you want
>
> Signed-off-by: Sergei Shtylyov <[email protected]>
>
> ---
> The patch is against the recent DaVinci tree.

Thanks, applying and queuing for 2.6.34-rc in davinci-fixes branch.

Kevin

>  arch/arm/mach-davinci/include/mach/da8xx.h |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> Index: linux-davinci/arch/arm/mach-davinci/include/mach/da8xx.h
> ===================================================================
> --- linux-davinci.orig/arch/arm/mach-davinci/include/mach/da8xx.h
> +++ linux-davinci/arch/arm/mach-davinci/include/mach/da8xx.h
> @@ -3,7 +3,7 @@
>   *
>   * Author: Mark A. Greer <[email protected]>
>   *
> - * 2007, 2009 (c) MontaVista Software, Inc. This file is licensed under
> + * 2007, 2009-2010 (c) MontaVista Software, Inc. This file is licensed under
>   * the terms of the GNU General Public License version 2. This program
>   * is licensed "as is" without any warranty of any kind, whether express
>   * or implied.
> @@ -13,7 +13,9 @@
>  
>  #include <video/da8xx-fb.h>
>  
> +#include <linux/platform_device.h>
>  #include <linux/davinci_emac.h>
> +
>  #include <mach/serial.h>
>  #include <mach/edma.h>
>  #include <mach/i2c.h>
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to