aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/platform.c')
-rw-r--r--drivers/base/platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/platform.c b/drivers/base/platform.c
index d1df4a087924..0338289f9b5c 100644
--- a/drivers/base/platform.c
+++ b/drivers/base/platform.c
@@ -473,7 +473,7 @@ EXPORT_SYMBOL_GPL(platform_driver_unregister);
473 * Returns zero if the driver registered and bound to a device, else returns 473 * Returns zero if the driver registered and bound to a device, else returns
474 * a negative error code and with the driver not registered. 474 * a negative error code and with the driver not registered.
475 */ 475 */
476int platform_driver_probe(struct platform_driver *drv, 476int __init_or_module platform_driver_probe(struct platform_driver *drv,
477 int (*probe)(struct platform_device *)) 477 int (*probe)(struct platform_device *))
478{ 478{
479 int retval, code; 479 int retval, code;