|
@@ -357,7 +357,7 @@ EXPORT_SYMBOL_GPL(platform_device_unregister);
|
|
|
*
|
|
|
* Returns &struct platform_device pointer on success, or ERR_PTR() on error.
|
|
|
*/
|
|
|
-struct platform_device *platform_device_register_resndata(
|
|
|
+struct platform_device *__init_or_module platform_device_register_resndata(
|
|
|
struct device *parent,
|
|
|
const char *name, int id,
|
|
|
const struct resource *res, unsigned int num,
|