xen-platform: constify pci_device_id.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 2 Aug 2017 17:46:57 +0000 (23:16 +0530)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Thu, 31 Aug 2017 13:45:55 +0000 (09:45 -0400)
commitfff219d90c8220f9e8a254d792537503cfb93017
tree17b2eccbf9f7d8601fc30647c61281449938db13
parentb4feaeb036b2e0f715e0d05ae84da01c6696a75f
xen-platform: 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>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
drivers/xen/platform-pci.c