diff options
author | Simon Horman <horms+renesas@verge.net.au> | 2014-08-11 20:04:41 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-08-23 06:58:32 -0400 |
commit | 5ebb4e849966e9cb3d5450773c86a1bf79e76f2d (patch) | |
tree | cae0ce83e0ddd5c790652c54a146d9010ed1b4de /arch/arm/mach-shmobile | |
parent | 1145eaabcf1d108993b5c7bea3d86bbef7143135 (diff) |
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>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/board-armadillo800eva-reference.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/board-armadillo800eva-reference.c b/arch/arm/mach-shmobile/board-armadillo800eva-reference.c index 84bc6cb6d5aa..f06e1f336dfb 100644 --- a/arch/arm/mach-shmobile/board-armadillo800eva-reference.c +++ b/arch/arm/mach-shmobile/board-armadillo800eva-reference.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <linux/kernel.h> | 24 | #include <linux/kernel.h> |
25 | #include <linux/gpio.h> | 25 | #include <linux/gpio.h> |
26 | #include <linux/io.h> | 26 | #include <linux/io.h> |
27 | #include <linux/of_platform.h> | ||
27 | 28 | ||
28 | #include <asm/mach/arch.h> | 29 | #include <asm/mach/arch.h> |
29 | #include <asm/hardware/cache-l2x0.h> | 30 | #include <asm/hardware/cache-l2x0.h> |
@@ -170,7 +171,7 @@ static void __init eva_init(void) | |||
170 | l2x0_init(IOMEM(0xf0002000), 0x00400000, 0xc20f0fff); | 171 | l2x0_init(IOMEM(0xf0002000), 0x00400000, 0xc20f0fff); |
171 | #endif | 172 | #endif |
172 | 173 | ||
173 | r8a7740_add_standard_devices_dt(); | 174 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); |
174 | 175 | ||
175 | r8a7740_pm_init(); | 176 | r8a7740_pm_init(); |
176 | } | 177 | } |