diff options
author | Vaishali Thakkar <[email protected]> | 2015-07-19 22:53:52 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2015-08-22 21:21:39 +1000 |
commit | f47f966fbe0aaff4ebbdb83d95acdfa5d3c20477 (patch) | |
tree | af8fa0ccc25f904f0f48ff1f25cda3196d0f2cd0 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 5d53be7d8c7ccf8eec1ce66c6b3573c01d16b755 (diff) |
cxl: Remove use of macro DEFINE_PCI_DEVICE_TABLE
Macro DEFINE_PCI_DEVICE_TABLE is deprecated. So, here use
struct pci_device_id instead of DEFINE_PCI_DEVICE_TABLE with
the goal of getting rid of this macro completely.
The Coccinelle semantic patch that performs this transformation
is as follows:
@@
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 <[email protected]>
Acked-by: Michael Neuling <[email protected]>
Acked-by: Ian Munsie <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions