Skip to content

Commit

Permalink
component: fix doxygen args
Browse files Browse the repository at this point in the history
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 <cujomalainey@chromium.org>
  • Loading branch information
cujomalainey authored and lgirdwood committed Oct 16, 2024
1 parent b0fc943 commit 4575d32
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/include/sof/audio/component.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down

0 comments on commit 4575d32

Please sign in to comment.