mirror of https://gitee.com/openkylin/linux.git
bc2e9578ba
The header file spi.h in include/uapi/linux/spi is needed for spidev.h,
so we also need make a symbolic link to it to eliminate the error message
as below:
In file included from spidev_test.c:24:
include/linux/spi/spidev.h:28:10: fatal error: linux/spi/spi.h: No such file or directory
28 | #include <linux/spi/spi.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
Build | ||
Makefile | ||
spidev_fdx.c | ||
spidev_test.c |