linux/arch/arm/mach-prima2
Barry Song 3cc3b617dc arm: prima2: use of_platform_populate instead of of_platform_bus_probe
use of_platform_populate to populate platform devices, it is suitable
for creating devices which are children of the root node, then makes
things like pcm work.

this patch removes sirfsoc_mach_init() function and lets arm core do
of_platform_populate:

    static int __init customize_machine(void)
    {
            /*
             * customizes platform devices, or adds new ones
             * On DT based machines, we fall back to populating the
             * machine from the device tree, if no callback is provided,
             * otherwise we would always need an init_machine callback.
             */
            if (machine_desc->init_machine)
                    machine_desc->init_machine();
            else
                    of_platform_populate(NULL, of_default_bus_match_table,
                                            NULL, NULL);
            return 0;
    }

Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Rongjun Ying <Rongjun.Ying@csr.com>
2013-06-03 13:51:58 +08:00
..
common.c arm: prima2: use of_platform_populate instead of of_platform_bus_probe 2013-06-03 13:51:58 +08:00
common.h ARM: sirf: enable multiplatform support 2013-03-25 12:29:42 +01:00
headsmp.S ARM: prima2: remove duplicate v7_invalidate_l1 2013-02-20 18:21:58 +01:00
hotplug.c ARM: cpu hotplug: remove majority of cache flushing from platforms 2013-04-18 20:08:04 +01:00
Kconfig Merge branch 'late/fixes' into fixes 2013-05-09 13:05:15 -07:00
l2x0.c ARM: PRIMA2: initialize l2x0 according to mach from DT 2013-01-22 19:37:15 +08:00
lluart.c ARM: sirf: enable multiplatform support 2013-03-25 12:29:42 +01:00
Makefile ARM: sirf: enable multiplatform support 2013-03-25 12:29:42 +01:00
Makefile.boot ARM: dtb: move all dtb targets to common Makefile 2012-09-20 22:58:17 -07:00
platsmp.c ARM: arm-soc multiplatform updates for 3.10 2013-05-02 09:38:16 -07:00
pm.c ARM: prima2: Replace include linux/module.h with linux/export.h 2013-06-03 13:50:07 +08:00
pm.h ARM: CSR: PM: add sleep entry for SiRFprimaII 2011-09-21 23:25:59 +08:00
rstc.c ARM: PRIMA2: rstc: enable the support for Marco 2013-01-22 19:38:48 +08:00
rtciobrg.c Merge branch 'marco-timer-cleanup-rebase' of git://gitorious.org/sirfprima2-kernel/sirfprima2-kernel into next/soc 2013-01-27 23:03:42 -08:00
sleep.S ARM: CSR: PM: add sleep entry for SiRFprimaII 2011-09-21 23:25:59 +08:00