Stop using generated amdgpu_device_match

Just match on PCI device ID 0x1002.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Michel Dänzer
2016-10-26 18:02:39 +09:00
parent 40ddc52b2a
commit a0881d55fe

View File

@@ -44,7 +44,6 @@
#include "amdgpu_probe.h"
#include "amdgpu_version.h"
#include "amdgpu_drv.h"
#include "amdpciids.h"
#include "xf86.h"
@@ -59,12 +58,11 @@
#include <xf86platformBus.h>
#endif
#include "ati_pciids_gen.h"
#include "amdgpu_chipset_gen.h"
#include "amdgpu_pci_chipset_gen.h"
#include "amdgpu_pci_device_match_gen.h"
_X_EXPORT int gAMDGPUEntityIndex = -1;
/* Return the options for supported chipset 'n'; NULL otherwise */
@@ -381,6 +379,11 @@ error:
}
#endif
static const struct pci_id_match amdgpu_device_match[] = {
{0x1002, PCI_MATCH_ANY, PCI_MATCH_ANY, PCI_MATCH_ANY, 0, 0, 0},
{0, 0, 0},
};
_X_EXPORT DriverRec AMDGPU = {
AMDGPU_VERSION_CURRENT,
AMDGPU_DRIVER_NAME,