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