diff options
author | Axel Lin <[email protected]> | 2012-01-12 20:32:04 +0100 |
---|---|---|
committer | Jean Delvare <[email protected]> | 2012-01-12 20:32:04 +0100 |
commit | 3527bd5045aacb4e4072f9cacb8eb9a433fbad39 (patch) | |
tree | 5b03b78307e081b5a1827854a9e2b2730b820d5e /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
parent | 65a2d74b76c5ae7c400de6daedeedae308ab0bdd (diff) |
i2c: Convert to DEFINE_PCI_DEVICE_TABLE
Convert static struct pci_device_id *[] to static DEFINE_PCI_DEVICE_TABLE
tables.
Use DEFINE_PCI_DEVICE_TABLE ensures we make the pci_device_id table const
and marked as __devinitconst.
This also fixes some warnings from checkpatch:
e.g.
WARNING: Use DEFINE_PCI_DEVICE_TABLE for struct pci_device_id
#1096: FILE: i2c/busses/i2c-intel-mid.c:1096:
+static struct pci_device_id intel_mid_i2c_ids[] = {
Signed-off-by: Axel Lin <[email protected]>
Cc: Rudolf Marek <[email protected]>
Cc: Ben Dooks <[email protected]>
Acked-by: Olof Johansson <[email protected]>
Cc: "Mark M. Hoffman" <[email protected]>
Acked-by: Dirk Brandewie <[email protected]>
Cc: Tomoya MORINAGA <[email protected]>
Acked-by: Wolfram Sang <[email protected]>
Cc: Feng Tang <[email protected]>
Cc: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Jean Delvare <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions