Re: asm/vga.h (was: Re: drm: Add support for platform devices toregister as DRM devices)

From: Adam Jackson
Date: Tue Aug 10 2010 - 17:51:25 EST


On Tue, 2010-08-10 at 22:35 +0200, Geert Uytterhoeven wrote:

> Now, do we really need <asm/vga.h>? It seems I can make it build and boot using:
>
> --- a/include/linux/vgaarb.h
> +++ b/include/linux/vgaarb.h
> @@ -31,7 +31,9 @@
> #ifndef LINUX_VGA_H
> #define LINUX_VGA_H
>
> +#ifdef CONFIG_VGA_ARB
> #include <asm/vga.h>
> +#endif
>
> /* Legacy VGA regions */
> #define VGA_RSRC_NONE 0x00

That seems fine.

- ajax

Attachment: signature.asc
Description: This is a digitally signed message part