metag: of_platform_populate from arch generic code
authorJames Hogan <james.hogan@imgtec.com>
Tue, 15 Jan 2013 15:27:45 +0000 (15:27 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Thu, 13 Jun 2013 11:14:06 +0000 (12:14 +0100)
commit8f74f52bb3d8596636614433faa067d73066a724
tree1449428717b50674fc29e303e263f840343a184c
parent317ddd256b9c24b0d78fa8018f80f1e495481a10
metag: of_platform_populate from arch generic code

If no init_machine callback is provided, call of_platform_populate()
instead. This allows a board/SoC that only needs to call
of_platform_populate to omit the callback altogether.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: devicetree-discuss@lists.ozlabs.org
arch/metag/kernel/setup.c