aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pci-layerscape.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/controller/dwc/pci-layerscape.c')
-rw-r--r--drivers/pci/controller/dwc/pci-layerscape.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/pci/controller/dwc/pci-layerscape.c b/drivers/pci/controller/dwc/pci-layerscape.c
index 7aa9a82b7ebd..ce45bde29bf8 100644
--- a/drivers/pci/controller/dwc/pci-layerscape.c
+++ b/drivers/pci/controller/dwc/pci-layerscape.c
@@ -222,12 +222,12 @@ static const struct dw_pcie_ops dw_ls_pcie_ops = {
222 .link_up = ls_pcie_link_up, 222 .link_up = ls_pcie_link_up,
223}; 223};
224 224
225static struct ls_pcie_drvdata ls1021_drvdata = { 225static const struct ls_pcie_drvdata ls1021_drvdata = {
226 .ops = &ls1021_pcie_host_ops, 226 .ops = &ls1021_pcie_host_ops,
227 .dw_pcie_ops = &dw_ls1021_pcie_ops, 227 .dw_pcie_ops = &dw_ls1021_pcie_ops,
228}; 228};
229 229
230static struct ls_pcie_drvdata ls1043_drvdata = { 230static const struct ls_pcie_drvdata ls1043_drvdata = {
231 .lut_offset = 0x10000, 231 .lut_offset = 0x10000,
232 .ltssm_shift = 24, 232 .ltssm_shift = 24,
233 .lut_dbg = 0x7fc, 233 .lut_dbg = 0x7fc,
@@ -235,7 +235,7 @@ static struct ls_pcie_drvdata ls1043_drvdata = {
235 .dw_pcie_ops = &dw_ls_pcie_ops, 235 .dw_pcie_ops = &dw_ls_pcie_ops,
236}; 236};
237 237
238static struct ls_pcie_drvdata ls1046_drvdata = { 238static const struct ls_pcie_drvdata ls1046_drvdata = {
239 .lut_offset = 0x80000, 239 .lut_offset = 0x80000,
240 .ltssm_shift = 24, 240 .ltssm_shift = 24,
241 .lut_dbg = 0x407fc, 241 .lut_dbg = 0x407fc,
@@ -243,7 +243,7 @@ static struct ls_pcie_drvdata ls1046_drvdata = {
243 .dw_pcie_ops = &dw_ls_pcie_ops, 243 .dw_pcie_ops = &dw_ls_pcie_ops,
244}; 244};
245 245
246static struct ls_pcie_drvdata ls2080_drvdata = { 246static const struct ls_pcie_drvdata ls2080_drvdata = {
247 .lut_offset = 0x80000, 247 .lut_offset = 0x80000,
248 .ltssm_shift = 0, 248 .ltssm_shift = 0,
249 .lut_dbg = 0x7fc, 249 .lut_dbg = 0x7fc,
@@ -251,7 +251,7 @@ static struct ls_pcie_drvdata ls2080_drvdata = {
251 .dw_pcie_ops = &dw_ls_pcie_ops, 251 .dw_pcie_ops = &dw_ls_pcie_ops,
252}; 252};
253 253
254static struct ls_pcie_drvdata ls2088_drvdata = { 254static const struct ls_pcie_drvdata ls2088_drvdata = {
255 .lut_offset = 0x80000, 255 .lut_offset = 0x80000,
256 .ltssm_shift = 0, 256 .ltssm_shift = 0,
257 .lut_dbg = 0x407fc, 257 .lut_dbg = 0x407fc,