Sync the function signature of __platform_register_driver() between the code and
the doc.

Co-developed-by: Rahul Bukte <[email protected]>
Signed-off-by: Rahul Bukte <[email protected]>
Signed-off-by: Shashank Balaji <[email protected]>
---
 Documentation/driver-api/driver-model/platform.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/driver-api/driver-model/platform.rst 
b/Documentation/driver-api/driver-model/platform.rst
index cf5ff48d3115..9673470bded2 100644
--- a/Documentation/driver-api/driver-model/platform.rst
+++ b/Documentation/driver-api/driver-model/platform.rst
@@ -70,7 +70,8 @@ Kernel modules can be composed of several platform drivers. 
The platform core
 provides helpers to register and unregister an array of drivers::
 
        int __platform_register_drivers(struct platform_driver * const *drivers,
-                                     unsigned int count, struct module *owner);
+                                     unsigned int count, struct module *owner,
+                                     const char *mod_name);
        void platform_unregister_drivers(struct platform_driver * const 
*drivers,
                                         unsigned int count);
 

-- 
2.43.0


Reply via email to