diff options
Diffstat (limited to 'include/linux/of_platform.h')
-rw-r--r-- | include/linux/of_platform.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/of_platform.h b/include/linux/of_platform.h index a68716ad38c..048949fa1d1 100644 --- a/include/linux/of_platform.h +++ b/include/linux/of_platform.h | |||
@@ -47,10 +47,6 @@ struct of_platform_driver | |||
47 | #define to_of_platform_driver(drv) \ | 47 | #define to_of_platform_driver(drv) \ |
48 | container_of(drv,struct of_platform_driver, driver) | 48 | container_of(drv,struct of_platform_driver, driver) |
49 | 49 | ||
50 | extern int of_register_driver(struct of_platform_driver *drv, | ||
51 | struct bus_type *bus); | ||
52 | extern void of_unregister_driver(struct of_platform_driver *drv); | ||
53 | |||
54 | /* Platform drivers register/unregister */ | 50 | /* Platform drivers register/unregister */ |
55 | extern int of_register_platform_driver(struct of_platform_driver *drv); | 51 | extern int of_register_platform_driver(struct of_platform_driver *drv); |
56 | extern void of_unregister_platform_driver(struct of_platform_driver *drv); | 52 | extern void of_unregister_platform_driver(struct of_platform_driver *drv); |
@@ -60,8 +56,6 @@ extern struct platform_device *of_device_alloc(struct device_node *np, | |||
60 | struct device *parent); | 56 | struct device *parent); |
61 | extern struct platform_device *of_find_device_by_node(struct device_node *np); | 57 | extern struct platform_device *of_find_device_by_node(struct device_node *np); |
62 | 58 | ||
63 | extern int of_bus_type_init(struct bus_type *bus, const char *name); | ||
64 | |||
65 | #if !defined(CONFIG_SPARC) /* SPARC has its own device registration method */ | 59 | #if !defined(CONFIG_SPARC) /* SPARC has its own device registration method */ |
66 | /* Platform devices and busses creation */ | 60 | /* Platform devices and busses creation */ |
67 | extern struct platform_device *of_platform_device_create(struct device_node *np, | 61 | extern struct platform_device *of_platform_device_create(struct device_node *np, |