diff options
author | Magnus Damm <damm@opensource.se> | 2013-10-01 04:11:53 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-10-07 20:29:15 -0400 |
commit | 44a268e2a652eab3c21e282b6418a8c9ea279626 (patch) | |
tree | 4fc46def48e66bdf00ea947ff7bcfeefae2c4f1d | |
parent | 629cc70ddac35520688b3a8bd165435c886e78eb (diff) |
ARM: shmobile: Introduce r8a7791_add_standard_devices()
Introduce the function r8a7791_add_standard_devices() that
follows the same style as other mach-shmobile SoC code and
allows C version of board code to add on-chip devices.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/r8a7791.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/setup-r8a7791.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7791.h b/arch/arm/mach-shmobile/include/mach/r8a7791.h index 2e6d66131083..2a86a5394672 100644 --- a/arch/arm/mach-shmobile/include/mach/r8a7791.h +++ b/arch/arm/mach-shmobile/include/mach/r8a7791.h | |||
@@ -1,6 +1,7 @@ | |||
1 | #ifndef __ASM_R8A7791_H__ | 1 | #ifndef __ASM_R8A7791_H__ |
2 | #define __ASM_R8A7791_H__ | 2 | #define __ASM_R8A7791_H__ |
3 | 3 | ||
4 | void r8a7791_add_standard_devices(void); | ||
4 | void r8a7791_add_dt_devices(void); | 5 | void r8a7791_add_dt_devices(void); |
5 | void r8a7791_clock_init(void); | 6 | void r8a7791_clock_init(void); |
6 | void r8a7791_init_early(void); | 7 | void r8a7791_init_early(void); |
diff --git a/arch/arm/mach-shmobile/setup-r8a7791.c b/arch/arm/mach-shmobile/setup-r8a7791.c index b56399d2e1de..350dfc4918e3 100644 --- a/arch/arm/mach-shmobile/setup-r8a7791.c +++ b/arch/arm/mach-shmobile/setup-r8a7791.c | |||
@@ -129,6 +129,11 @@ void __init r8a7791_add_dt_devices(void) | |||
129 | r8a7791_register_cmt(00); | 129 | r8a7791_register_cmt(00); |
130 | } | 130 | } |
131 | 131 | ||
132 | void __init r8a7791_add_standard_devices(void) | ||
133 | { | ||
134 | r8a7791_add_dt_devices(); | ||
135 | } | ||
136 | |||
132 | void __init r8a7791_init_early(void) | 137 | void __init r8a7791_init_early(void) |
133 | { | 138 | { |
134 | #ifndef CONFIG_ARM_ARCH_TIMER | 139 | #ifndef CONFIG_ARM_ARCH_TIMER |