diff options
Diffstat (limited to 'arch/powerpc/sysdev')
-rw-r--r-- | arch/powerpc/sysdev/fsl_msi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/fsl_msi.c b/arch/powerpc/sysdev/fsl_msi.c index 6e53d97abd3f..178c99427b1c 100644 --- a/arch/powerpc/sysdev/fsl_msi.c +++ b/arch/powerpc/sysdev/fsl_msi.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include "fsl_msi.h" | 28 | #include "fsl_msi.h" |
29 | #include "fsl_pci.h" | 29 | #include "fsl_pci.h" |
30 | 30 | ||
31 | LIST_HEAD(msi_head); | 31 | static LIST_HEAD(msi_head); |
32 | 32 | ||
33 | struct fsl_msi_feature { | 33 | struct fsl_msi_feature { |
34 | u32 fsl_pic_ip; | 34 | u32 fsl_pic_ip; |
@@ -130,7 +130,7 @@ static void fsl_compose_msi_msg(struct pci_dev *pdev, int hwirq, | |||
130 | struct pci_controller *hose = pci_bus_to_host(pdev->bus); | 130 | struct pci_controller *hose = pci_bus_to_host(pdev->bus); |
131 | u64 address; /* Physical address of the MSIIR */ | 131 | u64 address; /* Physical address of the MSIIR */ |
132 | int len; | 132 | int len; |
133 | const u64 *reg; | 133 | const __be64 *reg; |
134 | 134 | ||
135 | /* If the msi-address-64 property exists, then use it */ | 135 | /* If the msi-address-64 property exists, then use it */ |
136 | reg = of_get_property(hose->dn, "msi-address-64", &len); | 136 | reg = of_get_property(hose->dn, "msi-address-64", &len); |