diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-08-13 15:01:38 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-08-18 11:50:18 +0100 |
commit | 0af1fcea054497ba784fc2d9b0125c4c2f6609e3 (patch) | |
tree | f1033f382760cf4762a2b3f9ee6df527c018c0ce | |
parent | cfe8cc9419918bc56f528fa370aa8435d99b8353 (diff) | |
download | linux-next-0af1fcea054497ba784fc2d9b0125c4c2f6609e3.tar.gz |
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: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200813200147.61990-13-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/intel/baytrail/sst-baytrail-ipc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/intel/baytrail/sst-baytrail-ipc.h b/sound/soc/intel/baytrail/sst-baytrail-ipc.h index 755098509327..cc960b79e9e1 100644 --- a/sound/soc/intel/baytrail/sst-baytrail-ipc.h +++ b/sound/soc/intel/baytrail/sst-baytrail-ipc.h @@ -26,8 +26,7 @@ extern struct sst_ops sst_byt_ops; /* stream API */ struct sst_byt_stream *sst_byt_stream_new(struct sst_byt *byt, int id, - uint32_t (*get_write_position)(struct sst_byt_stream *stream, - void *data), + uint32_t (*notify_position)(struct sst_byt_stream *stream, void *data), void *data); /* stream configuration */ |