[patch] Intel driver: fix compile error
Arjan van de Ven
arjan at infradead.org
Sun Nov 2 09:01:00 PST 2008
From 305062fd59708d1bb04e411411ea6ca90845f073 Mon Sep 17 00:00:00 2001
From: Arjan van de Ven <arjan at linux.intel.com>
Date: Sun, 2 Nov 2008 08:53:33 -0800
Subject: [PATCH] bios_reader: fix compile error
CARD32 and friends are all nicely defined in headers it includes already,
but... depending on 32/64 bit it's differently defined than the bios_reader
does.
Fix it by just removing the typedefs.
Signed-off-by: Arjan van de Ven <arjan at linux.intel.com>
---
src/bios_reader/bios_reader.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/bios_reader/bios_reader.c b/src/bios_reader/bios_reader.c
index 2a6906d..61b492d 100644
--- a/src/bios_reader/bios_reader.c
+++ b/src/bios_reader/bios_reader.c
@@ -38,9 +38,6 @@
#include "../i830_bios.h"
-typedef uint8_t CARD8;
-typedef uint16_t CARD16;
-typedef uint32_t CARD32;
#define _PARSE_EDID_
#include "edid.h"
--
1.6.0.3
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
More information about the xorg
mailing list