Introduction - If you have any usage issues, please Google them yourself
1, implement the initialization of the entrance function xxx_init () and the uninstall function xxx_exit () hardware part to initialize the construction of the file_operation structure (related to the kernel) to implement the operation hardware method xxx_open, xxx_read, xxxx_write... (related to the hardware