Commit 4275881f authored by Magnus Damm's avatar Magnus Damm Committed by Simon Horman

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: default avatarMagnus Damm <damm@opensource.se>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 50c517d9
#ifndef __ASM_R8A7791_H__ #ifndef __ASM_R8A7791_H__
#define __ASM_R8A7791_H__ #define __ASM_R8A7791_H__
void r8a7791_add_standard_devices(void);
void r8a7791_add_dt_devices(void); void r8a7791_add_dt_devices(void);
void r8a7791_clock_init(void); void r8a7791_clock_init(void);
void r8a7791_init_early(void); void r8a7791_init_early(void);
......
...@@ -129,6 +129,11 @@ void __init r8a7791_add_dt_devices(void) ...@@ -129,6 +129,11 @@ void __init r8a7791_add_dt_devices(void)
r8a7791_register_cmt(00); r8a7791_register_cmt(00);
} }
void __init r8a7791_add_standard_devices(void)
{
r8a7791_add_dt_devices();
}
void __init r8a7791_init_early(void) void __init r8a7791_init_early(void)
{ {
#ifndef CONFIG_ARM_ARCH_TIMER #ifndef CONFIG_ARM_ARCH_TIMER
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment