PCI: endpoint: make config_item_type const
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 16 Oct 2017 15:18:45 +0000 (17:18 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 19 Oct 2017 14:15:25 +0000 (16:15 +0200)
commit5c4e2476ed54de92e0289cb7d4b08d939f5ae730
tree9a8d889a38b3973477a856b974ee7b74c5e0232b
parent612a462acbb9f3bfc7c8433b44118b0a156560da
PCI: endpoint: make config_item_type const

Make config_item_type structures const as they are either passed to a
function having the argument as const or stored in the const "ci_type"
field of a config_item structure.

Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/pci/endpoint/pci-ep-cfs.c