diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-14 05:29:23 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-05-15 11:49:01 -0400 |
commit | 659243ccaf296ae122c159d4c573f93561e1b8d6 (patch) | |
tree | b6a9681eb6e4349d03882394a403468f9cd84fb3 /arch/mips/pci/pci-ath724x.c | |
parent | 3a6208df8eb97e01fd8510762dd59dce375dd14d (diff) |
MIPS: ath79: make ath724x_pcibios_init visible for external code
Signed-off-by: René Bolldorf <xsecute@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3487/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pci/pci-ath724x.c')
-rw-r--r-- | arch/mips/pci/pci-ath724x.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/pci/pci-ath724x.c b/arch/mips/pci/pci-ath724x.c index 1e810be22d26..be01b7f8d840 100644 --- a/arch/mips/pci/pci-ath724x.c +++ b/arch/mips/pci/pci-ath724x.c | |||
@@ -9,6 +9,7 @@ | |||
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <linux/pci.h> | 11 | #include <linux/pci.h> |
12 | #include <asm/mach-ath79/pci.h> | ||
12 | 13 | ||
13 | #define reg_read(_phys) (*(unsigned int *) KSEG1ADDR(_phys)) | 14 | #define reg_read(_phys) (*(unsigned int *) KSEG1ADDR(_phys)) |
14 | #define reg_write(_phys, _val) ((*(unsigned int *) KSEG1ADDR(_phys)) = (_val)) | 15 | #define reg_write(_phys, _val) ((*(unsigned int *) KSEG1ADDR(_phys)) = (_val)) |
@@ -130,7 +131,7 @@ static struct pci_controller ath724x_pci_controller = { | |||
130 | .mem_resource = &ath724x_mem_resource, | 131 | .mem_resource = &ath724x_mem_resource, |
131 | }; | 132 | }; |
132 | 133 | ||
133 | static int __init ath724x_pcibios_init(void) | 134 | int __init ath724x_pcibios_init(void) |
134 | { | 135 | { |
135 | register_pci_controller(&ath724x_pci_controller); | 136 | register_pci_controller(&ath724x_pci_controller); |
136 | 137 | ||