Tag: 070a7cdfa4a0a799235d79e58e7b0b2d94dff190

perf/x86/intel/uncore: Remove use of macro DEFINE_PCI_DEVICE_TABLE()

Author: Vaishali Thakkar <vthakkar1994@gmail.com> The DEFINE_PCI_DEVICE_TABLE() macro is deprecated. Use ‘struct pci_device_id’ instead of DEFINE_PCI_DEVICE_TABLE(), with the goal of getting rid of this macro completely. This Coccinelle semantic patch performs this transformation: @@ identifier a; declarer name DEFINE_PCI_DEVICE_TABLE; initializer i; @@ – DEFINE_PCI_DEVICE_TABLE(a) + const struct pci_device_id a[] = i; Signed-off-by: Vaishali Thakkar Signed-off-by: Peter …

Continue reading