mtd: ichxrom: constify pci_device_id.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 3 Aug 2017 16:22:05 +0000 (21:52 +0530)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 15 Aug 2017 12:00:44 +0000 (14:00 +0200)
commit680025932f226eef8e905a4e2a84512970b62622
tree9b10bcb141cb504707406fb0b95cfcd230c1f919
parent129f6c4820dd68be26b516ba6d6e471e63855d47
mtd: ichxrom: 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/ichxrom.c