diff mbox

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

Message ID 1313575204-25374-1-git-send-email-bryan.wu@canonical.com (mailing list archive)
State New, archived
Headers show

Commit Message

Bryan Wu Aug. 17, 2011, 10 a.m. UTC
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@canonical.com>
---
 arch/arm/mach-footbridge/dc21285.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Bryan Wu Aug. 19, 2011, 4:37 a.m. UTC | #1
Russell,

Also this one. any comment?

Thanks,
-Bryan

On Wed, Aug 17, 2011 at 6:00 PM, Bryan Wu <bryan.wu@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@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@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
Russell King - ARM Linux Aug. 21, 2011, 8:41 a.m. UTC | #2
On Fri, Aug 19, 2011 at 12:37:09PM +0800, Bryan Wu wrote:
> Russell,
> 
> Also this one. any comment?

Other than frustration that Rob Herring isn't responding to his breakage
(which is making me want to ignore further patches from Rob - clearly
doesn't care about the effect of his c9d95fb "ARM: convert PCI defines
to variables" patch...)

It looks obviously correct.
Bryan Wu Aug. 21, 2011, 3:36 p.m. UTC | #3
On Sun, Aug 21, 2011 at 4:41 PM, Russell King - ARM Linux
<linux@arm.linux.org.uk> wrote:
> On Fri, Aug 19, 2011 at 12:37:09PM +0800, Bryan Wu wrote:
>> Russell,
>>
>> Also this one. any comment?
>
> Other than frustration that Rob Herring isn't responding to his breakage
> (which is making me want to ignore further patches from Rob - clearly
> doesn't care about the effect of his c9d95fb "ARM: convert PCI defines
> to variables" patch...)
>

I forgot to add Rob in this email loop. Added now.

> It looks obviously correct.
>

Thanks,
Rob Herring Aug. 21, 2011, 6:35 p.m. UTC | #4
On 08/21/2011 10:36 AM, Bryan Wu wrote:
> On Sun, Aug 21, 2011 at 4:41 PM, Russell King - ARM Linux
> <linux@arm.linux.org.uk> wrote:
>> On Fri, Aug 19, 2011 at 12:37:09PM +0800, Bryan Wu wrote:
>>> Russell,
>>>
>>> Also this one. any comment?
>>
>> Other than frustration that Rob Herring isn't responding to his breakage
>> (which is making me want to ignore further patches from Rob - clearly
>> doesn't care about the effect of his c9d95fb "ARM: convert PCI defines
>> to variables" patch...)
>>

Sorry, I've been away on vacation Wed-Sat.

> 
> I forgot to add Rob in this email loop. Added now.

Thanks for copying me directly.

> 
>> It looks obviously correct.
>>

I went back to check for other instances and found orion5x is also
broken missing this include. It is also broken by another commit which
I'll fix. Patches coming soon.

Rob
diff mbox

Patch

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>