dt/powerpc: move of_bus_type infrastructure to ibmebus
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 17 Feb 2011 07:26:57 +0000 (00:26 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 28 Feb 2011 08:36:38 +0000 (01:36 -0700)
commit710ac54be44e0cc53f5bf29b03d12c8706e7077a
tree82b570917ae685b981f55df85f0eff48576db7cc
parentb826291c14c396e7aa5d84523aafac117f430902
dt/powerpc: move of_bus_type infrastructure to ibmebus

arch/powerpc/kernel/ibmebus.c is the only remaining user of the
of_bus_type support code for initializing the bus and registering
drivers.  All others have either been switched to the vanilla platform
bus or already have their own infrastructure.

This patch moves the functionality that ibmebus is using out of
drivers/of/{platform,device}.c and into ibmebus.c where it is actually
used.  Also renames the moved symbols from of_platform_* to
ibmebus_bus_* to reflect the actual usage.

This patch is part of moving all of the of_platform_bus_type users
over to the platform_bus_type.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/powerpc/kernel/ibmebus.c
drivers/of/device.c
drivers/of/platform.c
include/linux/of_platform.h