]> asedeno.scripts.mit.edu Git - linux.git/commit
PCI: kirin: Constify dw_pcie_host_ops structure
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 9 Aug 2017 07:48:48 +0000 (13:18 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 19 Aug 2017 21:23:24 +0000 (16:23 -0500)
commitdb2af315212181c8815bed2454e16093a6128e89
tree70581054f1b2d1b2b9f776be29a3c80ab9f23543
parent16f73eb02d7e1765ccab3d2018e0bd98eb93d973
PCI: kirin: Constify dw_pcie_host_ops structure

Make this structure const as it is only stored in the ops field of a
pcie_port structure, which is of type const.  Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/dwc/pcie-kirin.c