Use busybox devmem

This commit is contained in:
Ciro Santilli
2017-08-08 11:56:01 +01:00
parent 68af3477cc
commit 8d668d6ed3
9 changed files with 35 additions and 144 deletions

View File

@@ -1,7 +1,7 @@
/*
Automatically create the device under /dev on insmod, and remove on rmmod.
https://stackoverflow.com/questions/5970595/how-to-create-a-device-node-from-the-init-module-code-of-a-linux-kernel-module
https://stackoverflow.com/questions/5970595/how-to-create-a-device-node-from-the-init-module-code-of-a-linux-kernel-module/45531867#45531867
*/
#include <linux/cdev.h>