[PATCH] Include device.h in VIC driver

H Hartley Sweeten hartleys at visionengravers.com
Wed Sep 16 19:25:04 EDT 2009


On Monday, September 14, 2009 4:24 AM, Linus Walleij wrote:
>
> Currently build with the next head fails on archs using PL190
> VIC because when we include amba/bus.h we need to include
> device.h first.
> 

The same problem is seen on the ep93xx platform.  This does fix the
issue.

Tested-by: H Hartley Sweeten <hsweeten at visionengravers.com>

> Signed-off-by: Linus Walleij <linus.walleij at stericsson.com>
> ---
>  arch/arm/common/vic.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/common/vic.c b/arch/arm/common/vic.c
> index 920ced0..f232941 100644
> --- a/arch/arm/common/vic.c
> +++ b/arch/arm/common/vic.c
> @@ -22,6 +22,7 @@
>  #include <linux/list.h>
>  #include <linux/io.h>
>  #include <linux/sysdev.h>
> +#include <linux/device.h>
>  #include <linux/amba/bus.h>
>  
>  #include <asm/mach/irq.h>




More information about the linux-arm-kernel mailing list