summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/pci_link.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-07-09 15:57:44 -0500
committerWolfram Sang <wsa@the-dreams.de>2017-08-12 13:25:17 +0200
commit8dc0f8c73c54c9d1a7fe8188ef3e70123a960eaf (patch)
treeac612d01c7017ac87b200576fa4d005d1363a24c /drivers/acpi/pci_link.c
parent453a237ccffad899ce15fb61e871e4784004be17 (diff)
downloadblackbird-op-linux-8dc0f8c73c54c9d1a7fe8188ef3e70123a960eaf.tar.gz
blackbird-op-linux-8dc0f8c73c54c9d1a7fe8188ef3e70123a960eaf.zip
i2c: constify internal structures
Check for i2c_algorithm and i2c_adapter_quirks structures that are only stored in the algo and quirks fields of an i2c_adapter structure correspondingly. These fields are declared const, so i2c_algorithm and i2c_adapter_quirks structures that have this property can be declared as const also. Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> (for designware) Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/acpi/pci_link.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud