From 2f65f7f35a4f8dac05daf0df26870c7fdb3cbd72 Mon Sep 17 00:00:00 2001 From: Curtis Malainey Date: Wed, 9 Oct 2024 15:34:35 -0700 Subject: [PATCH] component: fix doxygen args 3rd is missing and config was incorrect. Rename 3rd arg in signature to match name most commonly used by implementers. Signed-off-by: Curtis Malainey --- src/include/sof/audio/component.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/include/sof/audio/component.h b/src/include/sof/audio/component.h index 483a32439e56..ad678203e2cc 100644 --- a/src/include/sof/audio/component.h +++ b/src/include/sof/audio/component.h @@ -282,7 +282,8 @@ struct comp_ops { /** * Creates a new component device. * @param drv Parent component driver. - * @param comp Component parameters. + * @param ipc_config Component parameters. + * @param spec Pointer to initialization data * @return Pointer to the new component device. * * All required data objects should be allocated from the run-time @@ -295,7 +296,7 @@ struct comp_ops { */ struct comp_dev *(*create)(const struct comp_driver *drv, const struct comp_ipc_config *ipc_config, - const void *ipc_specific_config); + const void *spec); /** * Called to delete the specified component device.