1

Simple Device Driver not working [duplicate]

view story
linux-howto

http://stackoverflow.com – This question already has an answer here: linux/module.h: No such file or directory 2 answers I'm writing a basic device driver with code #define MODULE #include<linux/module.h> int init_module(void){ printk("<1>Hello World!!!\n"); return 0; } void cleanup_module(void){ printk("<1>Goodbye cruel world"); } In Ubuntu, It is giving an error: linux/module.h no such file or directory. (HowTos)