Commit 0af1fcea authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Mark Brown

ASoC: Intel: Baytrail: (cosmetic) align function parameters

Fix cppcheck warning:

sound/soc/intel/baytrail/sst-baytrail-ipc.c:339:8: style:inconclusive:
Function 'sst_byt_stream_new' argument 3 names different: declaration
'get_write_position' definition
'notify_position'. [funcArgNamesDifferent]
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200813200147.61990-13-pierre-louis.bossart@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent cfe8cc94
...@@ -26,8 +26,7 @@ extern struct sst_ops sst_byt_ops; ...@@ -26,8 +26,7 @@ extern struct sst_ops sst_byt_ops;
/* stream API */ /* stream API */
struct sst_byt_stream *sst_byt_stream_new(struct sst_byt *byt, int id, struct sst_byt_stream *sst_byt_stream_new(struct sst_byt *byt, int id,
uint32_t (*get_write_position)(struct sst_byt_stream *stream, uint32_t (*notify_position)(struct sst_byt_stream *stream, void *data),
void *data),
void *data); void *data);
/* stream configuration */ /* stream configuration */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment