ARM: shmobile: Introduce r8a7791_add_standard_devices()
authorMagnus Damm <damm@opensource.se>
Tue, 1 Oct 2013 08:11:53 +0000 (17:11 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 8 Oct 2013 00:52:59 +0000 (09:52 +0900)
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>
arch/arm/mach-shmobile/include/mach/r8a7791.h
arch/arm/mach-shmobile/setup-r8a7791.c

index 2e6d6613108346b53076e4a681a94451ef47c7ba..2a86a5394672b8336de962c6d455ecfb594b6c35 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef __ASM_R8A7791_H__
 #define __ASM_R8A7791_H__
 
+void r8a7791_add_standard_devices(void);
 void r8a7791_add_dt_devices(void);
 void r8a7791_clock_init(void);
 void r8a7791_init_early(void);
index b56399d2e1de90374a8284982154792d36e488ec..350dfc4918e38fff8b694e255ea7c8ab9607732c 100644 (file)
@@ -129,6 +129,11 @@ void __init r8a7791_add_dt_devices(void)
        r8a7791_register_cmt(00);
 }
 
+void __init r8a7791_add_standard_devices(void)
+{
+       r8a7791_add_dt_devices();
+}
+
 void __init r8a7791_init_early(void)
 {
 #ifndef CONFIG_ARM_ARCH_TIMER