Messages in this thread | | | Subject | Re: asm/vga.h (was: Re: drm: Add support for platform devices to register as DRM devices) | From | Dave Airlie <> | Date | Thu, 12 Aug 2010 09:17:58 +1000 |
| |
On Tue, 2010-08-10 at 17:51 -0400, Adam Jackson wrote: > 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: > >
I think we can drop asm/vga.h on all platforms, I'll queue a patch up for drm-next to see if we hit any problems, it works on x86 at least.
Dave.
> > --- 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 > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel
| |