summaryrefslogtreecommitdiff
path: root/src/amdgpu_probe.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2016-10-26 18:09:18 +0900
committerMichel Dänzer <michel.daenzer@amd.com>2016-11-21 17:55:32 +0900
commit8a5ff54af32a75ae56d3369a828a50ae28dd1acd (patch)
treecb530105abb83d2da4b612669110ba88acbb59cf /src/amdgpu_probe.c
parent298eaf58a57efa6acc53d374eea239b6bb55c0f8 (diff)
Stop using AMDGPUPciChipsets
Not actually used by Xorg. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/amdgpu_probe.c')
-rw-r--r--src/amdgpu_probe.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/amdgpu_probe.c b/src/amdgpu_probe.c
index b2657b8..6efa3fb 100644
--- a/src/amdgpu_probe.c
+++ b/src/amdgpu_probe.c
@@ -61,8 +61,6 @@
#include "ati_pciids_gen.h"
#include "amdgpu_chipset_gen.h"
-#include "amdgpu_pci_chipset_gen.h"
-
_X_EXPORT int gAMDGPUEntityIndex = -1;
/* Return the options for supported chipset 'n'; NULL otherwise */
@@ -172,7 +170,7 @@ static Bool amdgpu_get_scrninfo(int entity_num, struct pci_device *pci_dev)
DevUnion *pPriv;
AMDGPUEntPtr pAMDGPUEnt;
- pScrn = xf86ConfigPciEntity(pScrn, 0, entity_num, AMDGPUPciChipsets,
+ pScrn = xf86ConfigPciEntity(pScrn, 0, entity_num, NULL,
NULL, NULL, NULL, NULL, NULL);
if (!pScrn)