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>
Showing
- arch/powerpc/kernel/ibmebus.c 400 additions, 4 deletionsarch/powerpc/kernel/ibmebus.c
- drivers/of/device.c 0 additions, 34 deletionsdrivers/of/device.c
- drivers/of/platform.c 0 additions, 393 deletionsdrivers/of/platform.c
- include/linux/of_platform.h 0 additions, 6 deletionsinclude/linux/of_platform.h
Loading
Please register or sign in to comment