Searched hist:"01 cac4d2b5a0fdf5316ff611f73e8e23c308d50a" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/mtd/maps/ |
H A D | esb2rom.c | diff 01cac4d2b5a0fdf5316ff611f73e8e23c308d50a Thu Aug 03 11:22:07 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> mtd: esb2rom: 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>
|