diff options
Diffstat (limited to 'arch/sparc64/kernel/pci_sun4v.c')
-rw-r--r-- | arch/sparc64/kernel/pci_sun4v.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sparc64/kernel/pci_sun4v.c b/arch/sparc64/kernel/pci_sun4v.c index ec22cd61ec8c..bd74c155519e 100644 --- a/arch/sparc64/kernel/pci_sun4v.c +++ b/arch/sparc64/kernel/pci_sun4v.c | |||
@@ -1281,7 +1281,7 @@ h_error: | |||
1281 | 1281 | ||
1282 | static void pci_sun4v_msi_init(struct pci_pbm_info *pbm) | 1282 | static void pci_sun4v_msi_init(struct pci_pbm_info *pbm) |
1283 | { | 1283 | { |
1284 | u32 *val; | 1284 | const u32 *val; |
1285 | int len; | 1285 | int len; |
1286 | 1286 | ||
1287 | val = of_get_property(pbm->prom_node, "#msi-eqs", &len); | 1287 | val = of_get_property(pbm->prom_node, "#msi-eqs", &len); |
@@ -1289,16 +1289,16 @@ static void pci_sun4v_msi_init(struct pci_pbm_info *pbm) | |||
1289 | goto no_msi; | 1289 | goto no_msi; |
1290 | pbm->msiq_num = *val; | 1290 | pbm->msiq_num = *val; |
1291 | if (pbm->msiq_num) { | 1291 | if (pbm->msiq_num) { |
1292 | struct msiq_prop { | 1292 | const struct msiq_prop { |
1293 | u32 first_msiq; | 1293 | u32 first_msiq; |
1294 | u32 num_msiq; | 1294 | u32 num_msiq; |
1295 | u32 first_devino; | 1295 | u32 first_devino; |
1296 | } *mqp; | 1296 | } *mqp; |
1297 | struct msi_range_prop { | 1297 | const struct msi_range_prop { |
1298 | u32 first_msi; | 1298 | u32 first_msi; |
1299 | u32 num_msi; | 1299 | u32 num_msi; |
1300 | } *mrng; | 1300 | } *mrng; |
1301 | struct addr_range_prop { | 1301 | const struct addr_range_prop { |
1302 | u32 msi32_high; | 1302 | u32 msi32_high; |
1303 | u32 msi32_low; | 1303 | u32 msi32_low; |
1304 | u32 msi32_len; | 1304 | u32 msi32_len; |