aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing/intel_th/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwtracing/intel_th/pci.c')
-rw-r--r--drivers/hwtracing/intel_th/pci.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/drivers/hwtracing/intel_th/pci.c b/drivers/hwtracing/intel_th/pci.c
index 641e87936064..bca7a2ac00d6 100644
--- a/drivers/hwtracing/intel_th/pci.c
+++ b/drivers/hwtracing/intel_th/pci.c
@@ -46,8 +46,6 @@ static int intel_th_pci_probe(struct pci_dev *pdev,
46 if (IS_ERR(th)) 46 if (IS_ERR(th))
47 return PTR_ERR(th); 47 return PTR_ERR(th);
48 48
49 pci_set_drvdata(pdev, th);
50
51 return 0; 49 return 0;
52} 50}
53 51
@@ -67,6 +65,16 @@ static const struct pci_device_id intel_th_pci_id_table[] = {
67 PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0xa126), 65 PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0xa126),
68 .driver_data = (kernel_ulong_t)0, 66 .driver_data = (kernel_ulong_t)0,
69 }, 67 },
68 {
69 /* Apollo Lake */
70 PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x5a8e),
71 .driver_data = (kernel_ulong_t)0,
72 },
73 {
74 /* Broxton */
75 PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x0a80),
76 .driver_data = (kernel_ulong_t)0,
77 },
70 { 0 }, 78 { 0 },
71}; 79};
72 80