bondagit / ravenna-alsa-lkm

RAVENNA ALSA LKM
20 stars 9 forks source link

On Build/Compile - audio_driver.c:2218:19: error #22

Closed spikopath closed 2 months ago

spikopath commented 2 months ago

When running ./build.sh I get this error:

audio_driver.c:2218:19: error: initialization of ‘void ()(struct platform_device )’ from incompatible pointer type ‘int ()(struct platform_device )’ [-Wincompatible-pointer-types] 2218 | .remove = mr_alsa_audio_chip_remove, | ^~~~~~~~~

This started happening when the kernel was updated.

Platform: OS: Arch Linux Kernel:6.11.0-arch1-1 Gcc : 14.2.1

spikopath commented 2 months ago

Not an issue on the LTS kernel: 6.6.51-1-lts

bondagit commented 2 months ago

I pushed a fix for this, please test with driver version 1.11