diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-05-03 02:46:56 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-04 12:50:02 -0400 |
commit | d48fd006e6d9394e9abd14f4747034f73bb6a386 (patch) | |
tree | fab3577a596c9f81268f37cf71bf07a67da39e78 /arch/arm/mach-ux500/include/mach | |
parent | d67d1127a625cc5ebc3802180b19cc74f35b5578 (diff) |
ARM: 6082/1: ux500: put common devices into devices.c
Introduce devices.c, for placing devices common among Ux500 SoCs. Start
with the PL031 device.
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Acked-by: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ux500/include/mach')
-rw-r--r-- | arch/arm/mach-ux500/include/mach/devices.h | 15 | ||||
-rw-r--r-- | arch/arm/mach-ux500/include/mach/setup.h | 6 |
2 files changed, 20 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/include/mach/devices.h b/arch/arm/mach-ux500/include/mach/devices.h new file mode 100644 index 000000000000..5bca7c605cd6 --- /dev/null +++ b/arch/arm/mach-ux500/include/mach/devices.h | |||
@@ -0,0 +1,15 @@ | |||
1 | /* | ||
2 | * Copyright (C) ST-Ericsson SA 2010 | ||
3 | * | ||
4 | * License terms: GNU General Public License (GPL) version 2 | ||
5 | */ | ||
6 | |||
7 | #ifndef __ASM_ARCH_DEVICES_H__ | ||
8 | #define __ASM_ARCH_DEVICES_H__ | ||
9 | |||
10 | struct platform_device; | ||
11 | struct amba_device; | ||
12 | |||
13 | extern struct amba_device ux500_pl031_device; | ||
14 | |||
15 | #endif | ||
diff --git a/arch/arm/mach-ux500/include/mach/setup.h b/arch/arm/mach-ux500/include/mach/setup.h index 6c4c348fbdbb..6187effe92db 100644 --- a/arch/arm/mach-ux500/include/mach/setup.h +++ b/arch/arm/mach-ux500/include/mach/setup.h | |||
@@ -17,11 +17,15 @@ | |||
17 | extern void __init ux500_map_io(void); | 17 | extern void __init ux500_map_io(void); |
18 | extern void __init u8500_map_io(void); | 18 | extern void __init u8500_map_io(void); |
19 | 19 | ||
20 | extern void u8500_init_devices(void); | 20 | extern void __init ux500_init_devices(void); |
21 | extern void __init u8500_init_devices(void); | ||
22 | |||
21 | extern void __init ux500_init_irq(void); | 23 | extern void __init ux500_init_irq(void); |
22 | /* We re-use nomadik_timer for this platform */ | 24 | /* We re-use nomadik_timer for this platform */ |
23 | extern void nmdk_timer_init(void); | 25 | extern void nmdk_timer_init(void); |
24 | 26 | ||
27 | extern void __init amba_add_devices(struct amba_device *devs[], int num); | ||
28 | |||
25 | struct sys_timer; | 29 | struct sys_timer; |
26 | extern struct sys_timer u8500_timer; | 30 | extern struct sys_timer u8500_timer; |
27 | 31 | ||