Re: [PATCH] PCI: dwc: make dw_pcie_host_ops const

2017-08-19 Thread Bjorn Helgaas
On Wed, Aug 09, 2017 at 01:18:48PM +0530, Bhumika Goyal wrote: > Make these structures const as they are only stored in the ops field of > a pcie_port structure, which is of type const. > Done using Coccinelle. > > Signed-off-by: Bhumika Goyal Applied to pci/host-hisi and

Re: [PATCH] PCI: dwc: make dw_pcie_host_ops const

2017-08-19 Thread Bjorn Helgaas
On Wed, Aug 09, 2017 at 01:18:48PM +0530, Bhumika Goyal wrote: > Make these structures const as they are only stored in the ops field of > a pcie_port structure, which is of type const. > Done using Coccinelle. > > Signed-off-by: Bhumika Goyal Applied to pci/host-hisi and pci/host-kirin for

[PATCH] PCI: dwc: make dw_pcie_host_ops const

2017-08-09 Thread Bhumika Goyal
Make these structures const as they are only stored in the ops field of a pcie_port structure, which is of type const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/pci/dwc/pcie-hisi.c | 2 +- drivers/pci/dwc/pcie-kirin.c | 2 +- 2 files changed, 2

[PATCH] PCI: dwc: make dw_pcie_host_ops const

2017-08-09 Thread Bhumika Goyal
Make these structures const as they are only stored in the ops field of a pcie_port structure, which is of type const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/pci/dwc/pcie-hisi.c | 2 +- drivers/pci/dwc/pcie-kirin.c | 2 +- 2 files changed, 2 insertions(+), 2