diff options
| author | Kuninori Morimoto <[email protected]> | 2020-01-14 10:14:42 +0900 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2020-01-14 15:23:56 +0000 |
| commit | 2c72943dc359c9592747c3fd82cda30e7c89714c (patch) | |
| tree | 6ff5e61da9677c899b79cb15a2ade079a7952fd6 /tools/perf/scripts/python | |
| parent | 5615b7a2784331d115e5774e80c1fb0c1ce80644 (diff) | |
ASoC: rt715: use dev_to_sdw_dev() instead of to_sdw_slave_device()
This patch fixup this error
CC sound/soc/codecs/rt715-sdw.o
linux/sound/soc/codecs/rt715-sdw.c: In function 'rt715_dev_resume':
linux/sound/soc/codecs/rt715-sdw.c:568:28: error: implicit declaration\
of function 'to_sdw_slave_device'; did you mean 'sdw_slave_modalias'?\
[-Werror=implicit-function-declaration]
struct sdw_slave *slave = to_sdw_slave_device(dev);
^~~~~~~~~~~~~~~~~~~
sdw_slave_modalias
linux/sound/soc/codecs/rt715-sdw.c:568:28: warning: initialization of\
'struct sdw_slave *' from 'int' makes pointer from integer without a\
cast [-Wint-conversion]
cc1: some warnings being treated as errors
Signed-off-by: Kuninori Morimoto <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions