linux-mainline/sound/soc/ti
Janusz Krzysztofik b3fa3cf02e ASoC: ti: ams-delta: Fix cx81801_receive() argument types
Since types of arguments accepted by tty_ldis_ops::receive_buf() have
changed, the driver no longer builds.

.../linux/sound/soc/ti/ams-delta.c:403:24: error: initialization of 'void (*)(struct tty_struct *, const u8 *, const u8 *, size_t)' {aka 'void (*)(struct tty_struct *, const unsigned char *, const unsigned char *, unsigned int)'} from incompatible pointer type 'void (*)(struct tty_struct *, const u8 *, const char *, int)' {aka 'void (*)(struct tty_struct *, const unsigned char *, const char *, int)'} [-Werror=incompatible-pointer-types]
  403 |         .receive_buf = cx81801_receive,

Fix it.

Fixes: e8161447bb ("tty: make tty_ldisc_ops::*buf*() hooks operate on size_t")
Fixes: 892bc209f2 ("tty: use u8 for flags")
Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Link: https://lore.kernel.org/r/20231007213820.376360-1-jmkrzyszt@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-08 07:17:07 +02:00
..
ams-delta.c ASoC: ti: ams-delta: Fix cx81801_receive() argument types 2023-10-08 07:17:07 +02:00
davinci-evm.c ASoC: ti: davinci-evm: simplify the code with module_platform_driver 2023-08-04 13:30:44 +01:00
davinci-i2s.c ASoC: ti: merge DAI call back functions into ops 2023-08-14 13:10:01 +01:00
davinci-i2s.h
davinci-mcasp.c ASoC: ti: merge DAI call back functions into ops 2023-08-14 13:10:01 +01:00
davinci-mcasp.h
edma-pcm.c
edma-pcm.h
j721e-evm.c
Kconfig
Makefile
n810.c
omap3pandora.c
omap-abe-twl6040.c
omap-dmic.c ASoC: ti: merge DAI call back functions into ops 2023-08-14 13:10:01 +01:00
omap-dmic.h
omap-hdmi.c ASoC: ti: use asoc_dummy_dlc 2023-05-08 08:47:06 +09:00
omap-mcbsp-priv.h
omap-mcbsp-st.c ASoC: do not include pm_runtime.h if not used 2023-05-23 13:55:55 +01:00
omap-mcbsp.c ASoC: ti: merge DAI call back functions into ops 2023-08-14 13:10:01 +01:00
omap-mcbsp.h
omap-mcpdm.c ASoC: ti: merge DAI call back functions into ops 2023-08-14 13:10:01 +01:00
omap-mcpdm.h
omap-twl4030.c
osk5912.c
rx51.c
sdma-pcm.c
sdma-pcm.h
udma-pcm.c
udma-pcm.h