aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPete Popov <ppopov@embeddedalley.com>2005-09-15 19:42:27 -0400
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 14:32:24 -0400
commitefe29c0f34dc3ee3511e46458f335edb7ee50327 (patch)
tree645c9e7a061984ded12ae1ecf33ed869b7b90fbf /arch
parent0bf0e3e279661c42ad43014d62ddd87d42da12e7 (diff)
- moved platform structure to platform.c
- fixed an iounmap warning - export fixup_xx, needed by the module Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/au1000/common/platform.c6
-rw-r--r--arch/mips/au1000/common/setup.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips/au1000/common/platform.c b/arch/mips/au1000/common/platform.c
index 4aca18f0e290..a5e3ea413694 100644
--- a/arch/mips/au1000/common/platform.c
+++ b/arch/mips/au1000/common/platform.c
@@ -209,8 +209,14 @@ static struct platform_device au1200_ide0_device = {
209 209
210#endif 210#endif
211 211
212static struct platform_device au1x00_pcmcia_device = {
213 .name = "au1x00-pcmcia",
214 .id = 0,
215};
216
212static struct platform_device *au1xxx_platform_devices[] __initdata = { 217static struct platform_device *au1xxx_platform_devices[] __initdata = {
213 &au1xxx_usb_ohci_device, 218 &au1xxx_usb_ohci_device,
219 &au1x00_pcmcia_device,
214#ifdef CONFIG_FB_AU1100 220#ifdef CONFIG_FB_AU1100
215 &au1100_lcd_device, 221 &au1100_lcd_device,
216#endif 222#endif
diff --git a/arch/mips/au1000/common/setup.c b/arch/mips/au1000/common/setup.c
index c1e102e55adb..1ef15d5ef943 100644
--- a/arch/mips/au1000/common/setup.c
+++ b/arch/mips/au1000/common/setup.c
@@ -32,6 +32,7 @@
32#include <linux/mm.h> 32#include <linux/mm.h>
33#include <linux/delay.h> 33#include <linux/delay.h>
34#include <linux/interrupt.h> 34#include <linux/interrupt.h>
35#include <linux/module.h>
35 36
36#include <asm/cpu.h> 37#include <asm/cpu.h>
37#include <asm/bootinfo.h> 38#include <asm/bootinfo.h>
@@ -186,4 +187,5 @@ phys_t __fixup_bigphys_addr(phys_t phys_addr, phys_t size)
186 /* default nop */ 187 /* default nop */
187 return phys_addr; 188 return phys_addr;
188} 189}
190EXPORT_SYMBOL(__fixup_bigphys_addr);
189#endif 191#endif