mtd: esb2rom: constify pci_device_id.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 3 Aug 2017 16:22:07 +0000 (21:52 +0530)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 15 Aug 2017 12:00:45 +0000 (14:00 +0200)
commit01cac4d2b5a0fdf5316ff611f73e8e23c308d50a
tree16fede1bbe67a90dd6d4d4f35659a2cab67a5f70
parent30105a2c35061bd989d293a4637d9705221b282f
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>
drivers/mtd/maps/esb2rom.c