-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support kernel 5.13.19 #62
Comments
Was there any resolution on this? Having issues compiling on kernel 5.18.0-1 make -C /lib/modules/5.18.0-1parrot1-amd64/build M=/var/lib/dkms/applespi/0.1/build modules |
Having the same issue on |
Same problem on 5.19.0-26 |
Ubuntu 20.04 Macbook 12 touchpad is too sensitive [MacBook(Pro) SPI Touchpads] |
trying to compile 5.13.19-28.31
DKMS make.log for applespi-0.1 for kernel 5.13.19-28.31custom (x86_64)
Tue 01 Feb 2022 08:16:38 AM MSK
make -C /lib/modules/5.13.19-28.31custom/build M=/var/lib/dkms/applespi/0.1/build modules
make[1]: Entering directory '/usr/src/linux-headers-5.13.19-28.31custom'
CC [M] /var/lib/dkms/applespi/0.1/build/applespi.o
CC [M] /var/lib/dkms/applespi/0.1/build/apple-ibridge.o
CC [M] /var/lib/dkms/applespi/0.1/build/apple-ib-tb.o
CC [M] /var/lib/dkms/applespi/0.1/build/apple-ib-als.o
/var/lib/dkms/applespi/0.1/build/apple-ib-als.c: In function ‘appleals_config_iio’:
/var/lib/dkms/applespi/0.1/build/apple-ib-als.c:491:31: error: passing argument 1 of ‘iio_trigger_alloc’ from incompatible pointer type [-Werror=incompatible-pointer-types]
491 | iio_trig = iio_trigger_alloc("%s-dev%d", iio_dev->name, iio_dev->id);
| ^~~~~~~~~~
| |
| char *
In file included from /var/lib/dkms/applespi/0.1/build/apple-ib-als.c:36:
./include/linux/iio/trigger.h:165:21: note: expected ‘struct device *’ but argument is of type ‘char *’
165 | struct iio_trigger *iio_trigger_alloc(struct device *parent, const char *fmt, ...);
| ^~~~~~~~~~~~~~~~~
/var/lib/dkms/applespi/0.1/build/applespi.c: In function ‘applespi_setup_read_txfrs’:
/var/lib/dkms/applespi/0.1/build/applespi.c:590:6: error: ‘struct spi_transfer’ has no member named ‘delay_usecs’
590 | dl_t->delay_usecs = applespi->spi_settings.spi_cs_delay;
| ^~
/var/lib/dkms/applespi/0.1/build/applespi.c: In function ‘applespi_setup_write_txfrs’:
/var/lib/dkms/applespi/0.1/build/applespi.c:619:6: error: ‘struct spi_transfer’ has no member named ‘delay_usecs’
619 | wt_t->delay_usecs = SPI_RW_CHG_DELAY_US;
| ^~
/var/lib/dkms/applespi/0.1/build/applespi.c:622:6: error: ‘struct spi_transfer’ has no member named ‘delay_usecs’
622 | dl_t->delay_usecs = applespi->spi_settings.spi_cs_delay;
| ^~
/var/lib/dkms/applespi/0.1/build/applespi.c:626:6: error: ‘struct spi_transfer’ has no member named ‘delay_usecs’
626 | wr_t->delay_usecs = SPI_RW_CHG_DELAY_US;
| ^~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/applespi/0.1/build/apple-ib-als.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [scripts/Makefile.build:281: /var/lib/dkms/applespi/0.1/build/applespi.o] Error 1
make[1]: *** [Makefile:1879: /var/lib/dkms/applespi/0.1/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.13.19-28.31custom'
make: *** [Makefile:16: all] Error 2
The text was updated successfully, but these errors were encountered: