aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/of_platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/of_platform.h')
-rw-r--r--arch/powerpc/include/asm/of_platform.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/powerpc/include/asm/of_platform.h b/arch/powerpc/include/asm/of_platform.h
index 53b46507ffd..d4aaa348944 100644
--- a/arch/powerpc/include/asm/of_platform.h
+++ b/arch/powerpc/include/asm/of_platform.h
@@ -11,16 +11,6 @@
*
*/
-/* Platform drivers register/unregister */
-static inline int of_register_platform_driver(struct of_platform_driver *drv)
-{
- return of_register_driver(drv, &of_platform_bus_type);
-}
-static inline void of_unregister_platform_driver(struct of_platform_driver *drv)
-{
- of_unregister_driver(drv);
-}
-
/* Platform devices and busses creation */
extern struct of_device *of_platform_device_create(struct device_node *np,
const char *bus_id,