summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/of_platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/include/asm/of_platform.h')
-rw-r--r--arch/microblaze/include/asm/of_platform.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/microblaze/include/asm/of_platform.h b/arch/microblaze/include/asm/of_platform.h
index 187c0eedaece..37491276c6ca 100644
--- a/arch/microblaze/include/asm/of_platform.h
+++ b/arch/microblaze/include/asm/of_platform.h
@@ -36,16 +36,6 @@ static const struct of_device_id of_default_bus_ids[] = {
{},
};
-/* 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,
OpenPOWER on IntegriCloud