diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-08-03 18:22:10 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-08-15 14:00:46 +0200 |
commit | d64dc9c8470da1582bf0d853c8a4ae05ad31815b (patch) | |
tree | 1e8c0a3f7a8012a29496098baa3b4ebcf8c87961 /drivers/hwmon/sht21.c | |
parent | mtd: intel_vr_nor: constify pci_device_id. (diff) | |
download | linux-d64dc9c8470da1582bf0d853c8a4ae05ad31815b.tar.xz linux-d64dc9c8470da1582bf0d853c8a4ae05ad31815b.zip |
mtd: pci: constify pci_device_id.
pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by <linux/pci.h> work with
const pci_device_id. So mark the non-const structs as const.
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/hwmon/sht21.c')
0 files changed, 0 insertions, 0 deletions