[PATCH xf86-video-chips] PciTag is unused when using libpciaccess
Jeremy Huddleston
jeremyhu at apple.com
Mon Sep 26 12:46:41 PDT 2011
Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>
On Sep 26, 2011, at 12:41, Mark Kettenis wrote:
> This should be the right thing to do regardless whether the pci bus
> cleanup gets committed.
>
> Signed-off-by: Mark Kettenis <kettenis at openbsd.org>
> ---
> src/ct_driver.h | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/src/ct_driver.h b/src/ct_driver.h
> index 10a24d4..39eeb6e 100644
> --- a/src/ct_driver.h
> +++ b/src/ct_driver.h
> @@ -271,7 +271,9 @@ typedef struct {
>
> typedef struct _CHIPSRec {
> pciVideoPtr PciInfo;
> +#ifndef XSERVER_LIBPCIACCESS
> PCITAG PciTag;
> +#endif
> int Chipset;
> EntityInfoPtr pEnt;
> IOADDRESS PIOBase;
> --
> 1.7.6
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>
More information about the xorg-devel
mailing list