Tag: c2365b9388e8ec19305e3f449c1826e7493d156d

perf/x86/intel/uncore: Do not use 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 Cc: Arnaldo …

Continue reading