notro / fbtft

Linux Framebuffer drivers for small TFT LCD display modules. Development has moved to https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/fbtft?h=staging-testing
1.84k stars 495 forks source link

modified to compile for kernel 5.10.17 #573

Closed miyo closed 2 years ago

miyo commented 2 years ago

I wanted to use fbtft with Linux 5.10.17 running on RaspberryPi3. However, in the kernel, timespec and getnstimeofday have been removed and the compilation of fbtf was failed. Therefore, I replaced timespec and getnstimeofday into timespec64 and ktime_get_real_ts64, respectively. It seems that the modified version works well on my Raspberry Pi3 with a ILI9341 TFT module. If there are not any problems, I'd like you to merge the modification.

notro commented 2 years ago

fbtft has been part of Linux since 2015 so no development happens in this repo any more. A similar change has already happened there: https://elixir.bootlin.com/linux/latest/A/ident/fbtft_update_display