I was able to build a "hello world" module with following properties:
file_module.c: Implements the following
file_chardev.c: Implements the following
file_fops_impl.h: Implements the following
file_fops.c: Implements the following
file_fops_impl.c: Implements the following
My earlier question became moot when I tried again the same code after a reboot. What is strange is the call to module_init() didn't print any kernel log messages even though I had print statement with error mode.