[PATCH] ARM: mach-footbridge: add missing header file <video/vga.h>

Bryan Wu bryan.wu at canonical.com
Fri Aug 19 00:37:09 EDT 2011


Russell,

Also this one. any comment?

Thanks,
-Bryan

On Wed, Aug 17, 2011 at 6:00 PM, Bryan Wu <bryan.wu at canonical.com> wrote:
> This patch fixes following building error:
> --
> arch/arm/mach-footbridge/dc21285.c: In function 'dc21285_preinit':
> arch/arm/mach-footbridge/dc21285.c:299:2: error: 'vga_base' undeclared (first use in this function)
> arch/arm/mach-footbridge/dc21285.c:299:2: note: each undeclared identifier is reported only once for each function it appears in
> make[1]: *** [arch/arm/mach-footbridge/dc21285.o] Error 1
> --
>
> Signed-off-by: Bryan Wu <bryan.wu at canonical.com>
> ---
>  arch/arm/mach-footbridge/dc21285.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-footbridge/dc21285.c b/arch/arm/mach-footbridge/dc21285.c
> index 1331fff..18c32a5 100644
> --- a/arch/arm/mach-footbridge/dc21285.c
> +++ b/arch/arm/mach-footbridge/dc21285.c
> @@ -18,6 +18,7 @@
>  #include <linux/irq.h>
>  #include <linux/io.h>
>  #include <linux/spinlock.h>
> +#include <video/vga.h>
>
>  #include <asm/irq.h>
>  #include <asm/system.h>
> --
> 1.7.5
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>



-- 
Bryan Wu <bryan.wu at canonical.com>
Kernel Developer    +86.138-1617-6545 Mobile
Ubuntu Kernel Team
Canonical Ltd.      www.canonical.com
Ubuntu - Linux for human beings | www.ubuntu.com



More information about the linux-arm-kernel mailing list