diff options
Diffstat (limited to 'drivers/pci/dwc/pci-layerscape.c')
-rw-r--r-- | drivers/pci/dwc/pci-layerscape.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/dwc/pci-layerscape.c b/drivers/pci/dwc/pci-layerscape.c index 27d638c4e134..fd861289ad8b 100644 --- a/drivers/pci/dwc/pci-layerscape.c +++ b/drivers/pci/dwc/pci-layerscape.c | |||
@@ -39,7 +39,7 @@ struct ls_pcie_drvdata { | |||
39 | u32 lut_offset; | 39 | u32 lut_offset; |
40 | u32 ltssm_shift; | 40 | u32 ltssm_shift; |
41 | u32 lut_dbg; | 41 | u32 lut_dbg; |
42 | struct dw_pcie_host_ops *ops; | 42 | const struct dw_pcie_host_ops *ops; |
43 | const struct dw_pcie_ops *dw_pcie_ops; | 43 | const struct dw_pcie_ops *dw_pcie_ops; |
44 | }; | 44 | }; |
45 | 45 | ||
@@ -185,12 +185,12 @@ static int ls_pcie_msi_host_init(struct pcie_port *pp, | |||
185 | return 0; | 185 | return 0; |
186 | } | 186 | } |
187 | 187 | ||
188 | static struct dw_pcie_host_ops ls1021_pcie_host_ops = { | 188 | static const struct dw_pcie_host_ops ls1021_pcie_host_ops = { |
189 | .host_init = ls1021_pcie_host_init, | 189 | .host_init = ls1021_pcie_host_init, |
190 | .msi_host_init = ls_pcie_msi_host_init, | 190 | .msi_host_init = ls_pcie_msi_host_init, |
191 | }; | 191 | }; |
192 | 192 | ||
193 | static struct dw_pcie_host_ops ls_pcie_host_ops = { | 193 | static const struct dw_pcie_host_ops ls_pcie_host_ops = { |
194 | .host_init = ls_pcie_host_init, | 194 | .host_init = ls_pcie_host_init, |
195 | .msi_host_init = ls_pcie_msi_host_init, | 195 | .msi_host_init = ls_pcie_msi_host_init, |
196 | }; | 196 | }; |