今天根据正点原子的教程编写newchrdev驱动时,在使用modprobe命令加载ko文件时,报了Unknown symbol device_create错误:
1 2 3 4 5 6 7
root@ACZ702_System:/# modprobe leddev leddev: loading out-of-tree module taints kernel. leddev: disagrees about version of symbol device_create leddev: Unknown symbol device_create (err -22) leddev: disagrees about version of symbol device_destroy leddev: Unknown symbol device_destroy (err -22) modprobe: can't load module leddev (leddev.ko): Invalid argument