]> git.karo-electronics.de Git - mv-sheeva.git/commit
of/device: Merge of_platform_bus_probe()
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 8 Jun 2010 13:48:13 +0000 (07:48 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 5 Jul 2010 22:14:28 +0000 (16:14 -0600)
commit5fd200f3b351183b5489cef69961c60af9cead2f
tree322780d69cfefd88dd959e2b60aa23ce28cc8d2c
parent34a1c1e8c700f7cd849deb21193718a172722f8d
of/device: Merge of_platform_bus_probe()

Merge common code between PowerPC and microblaze.  This patch merges
the code that scans the tree and registers devices.  The functions
merged are of_platform_bus_probe(), of_platform_bus_create(), and
of_platform_device_create().

This patch also move the of_default_bus_ids[] table out of a Microblaze
header file and makes it non-static.  The device ids table isn't merged
because powerpc and microblaze use different default data.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
CC: Michal Simek <monstr@monstr.eu>
CC: Grant Likely <grant.likely@secretlab.ca>
CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: Stephen Rothwell <sfr@canb.auug.org.au>
CC: microblaze-uclinux@itee.uq.edu.au
CC: linuxppc-dev@ozlabs.org
arch/microblaze/include/asm/of_platform.h
arch/microblaze/kernel/of_platform.c
arch/powerpc/include/asm/of_platform.h
arch/powerpc/kernel/of_platform.c
drivers/of/platform.c
include/linux/of_platform.h