PCI: dwc: Constify dw_pcie_host_ops structures
Port of a Linux commit 4ab2e7c

  The dw_pcie_host_ops structures are never modified.  Constify these
  structures such that these can be write-protected.

  Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
  Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
  Acked-by: Jingoo Han <jingoohan1@gmail.com>
  Acked-by: Kishon Vijay Abraham I <kishon@ti.com>

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent bd62f82 commit 2ea53e6ddfe97e75dd65e64f59f60b6dcb9f8d45
@Andrey Smirnov Andrey Smirnov authored on 17 Dec 2018
Sascha Hauer committed on 8 Jan 2019
Showing 2 changed files
View
drivers/pci/pci-imx6.c
View
drivers/pci/pcie-designware.h