diff options
-rw-r--r-- | drivers/base/platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/platform.c b/drivers/base/platform.c index ffcfd73fe8a6..1bb8faaa443f 100644 --- a/drivers/base/platform.c +++ b/drivers/base/platform.c | |||
@@ -357,7 +357,7 @@ EXPORT_SYMBOL_GPL(platform_device_unregister); | |||
357 | * | 357 | * |
358 | * Returns &struct platform_device pointer on success, or ERR_PTR() on error. | 358 | * Returns &struct platform_device pointer on success, or ERR_PTR() on error. |
359 | */ | 359 | */ |
360 | struct platform_device *platform_device_register_resndata( | 360 | struct platform_device *__init_or_module platform_device_register_resndata( |
361 | struct device *parent, | 361 | struct device *parent, |
362 | const char *name, int id, | 362 | const char *name, int id, |
363 | const struct resource *res, unsigned int num, | 363 | const struct resource *res, unsigned int num, |