]> git.baikalelectronics.ru Git - kernel.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)
commit79fbec6858c353e1fff982f73cf2ab04f853062f
tree70581054f1b2d1b2b9f776be29a3c80ab9f23543
parent8b74f4f4576ba4882ca9e92e5c3794c2476fd0af
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