On Wed, Jan 18, 2023 at 05:10:45PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann <arnd@xxxxxxxx> > > This data is no longer passed by the platform code, so > there is no point passing it down at all. This breaks an x86 allmodconfig build: /build/stage/linux/sound/soc/samsung/s3c24xx-i2s.c: In function ‘s3c24xx_iis_dev_probe’: /build/stage/linux/sound/soc/samsung/s3c24xx-i2s.c:436:56: error: passing argument 4 of ‘samsung_asoc_dma_platform_register’ from incompatible pointer type [-Werror=incompatible-pointer-types] 436 | "tx", "rx", NULL); | ^~~~ | | | char * In file included from /build/stage/linux/sound/soc/samsung/s3c24xx-i2s.c:21: /build/stage/linux/sound/soc/samsung/dma.h:17:55: note: expected ‘struct device *’ but argument is of type ‘char *’ 17 | struct device *dma_dev); | ~~~~~~~~~~~~~~~^~~~~~~ /build/stage/linux/sound/soc/samsung/s3c24xx-i2s.c:435:15: error: too many arguments to function ‘samsung_asoc_dma_platform_register’ 435 | ret = samsung_asoc_dma_platform_register(&pdev->dev, NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/stage/linux/sound/soc/samsung/dma.h:15:5: note: declared here 15 | int samsung_asoc_dma_platform_register(struct device *dev, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Attachment:
signature.asc
Description: PGP signature