mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 19:07:52 +00:00
ARM: shmobile: armadillo800eva-reference: Do not use r8a7740_add_standard_devices_dt()
Now that r8a7740_add_standard_devices_dt() is just a wrapper for of_platform_populate() call the latter directly. This is in preparation for removing r8a7740_add_standard_devices_dt(). Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
1145eaabcf
commit
5ebb4e8499
1 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
#include <linux/gpio.h>
|
#include <linux/gpio.h>
|
||||||
#include <linux/io.h>
|
#include <linux/io.h>
|
||||||
|
#include <linux/of_platform.h>
|
||||||
|
|
||||||
#include <asm/mach/arch.h>
|
#include <asm/mach/arch.h>
|
||||||
#include <asm/hardware/cache-l2x0.h>
|
#include <asm/hardware/cache-l2x0.h>
|
||||||
|
@ -170,7 +171,7 @@ static void __init eva_init(void)
|
||||||
l2x0_init(IOMEM(0xf0002000), 0x00400000, 0xc20f0fff);
|
l2x0_init(IOMEM(0xf0002000), 0x00400000, 0xc20f0fff);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
r8a7740_add_standard_devices_dt();
|
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
|
||||||
|
|
||||||
r8a7740_pm_init();
|
r8a7740_pm_init();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue