Open enomado opened 1 year ago
fixed by adding
#include <linux/gpio/driver.h>
Now it cant find gpio_export
. What a beautiful language.
There have been significant changes to the Linux kernel's GPIO API, which removed a few functions. The SPI API changed as well, removing spi_busnum_to_master
. I think the SPI probe function will need to be mostly rewritten with the new device tree paradigm.
In addition, all instances of the term "master" have been deprecated and replaced with "controller", though for now there are macros keeping it backwards compatible.
A maintained fork (that built successfully on my 6.5.7 kernel) can be found at dimich-dmb/spi-ch341-usb
Hope this helps
Trying to
make
and