summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Kollasch <jakllsch@kollasch.net>2009-12-28 13:16:24 +0100
committerMatthias Hopf <mhopf@suse.de>2009-12-28 13:16:24 +0100
commitcc1bb50bb44354be7793e4fc45c625746571ec96 (patch)
tree0bc9d843e5d7d5988d163ae2be885c84cecb6fd0
parentb62d13fc640b4362ff17c413bf75b8ee4c48ef82 (diff)
Fix incorrect LIST_END macro.
The radeonhd matching table has a incorrect LIST_END macro. This causes xorg -configure to do silly things like configure a radeonhd entry for every PCI function in the system. Signed-off-by: Matthias Hopf <mhopf@suse.de>
-rw-r--r--src/rhd_id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rhd_id.c b/src/rhd_id.c
index 2efdb60..0e83808 100644
--- a/src/rhd_id.c
+++ b/src/rhd_id.c
@@ -112,7 +112,7 @@ SymTabRec RHDChipsets[] = {
# define RHD_DEVICE_MATCH(d, i) \
{ 0x1002, (d), PCI_MATCH_ANY, PCI_MATCH_ANY, 0, 0, (i) }
# define PCI_ID_LIST struct pci_id_match RHDDeviceMatch[]
-# define LIST_END { 0, 0, (~0), (~0), 0, 0, 0 }
+# define LIST_END { 0, 0, 0, 0, 0, 0, 0 }
#else
resRange res_none[] = { _END };