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

Adam Jackson ajax at redhat.com
Tue Aug 10 14:51:06 PDT 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20100810/f99ea41c/attachment.pgp>


More information about the dri-devel mailing list