things to be kept in mind while doing "Character Driver"
1>Be very patient as you will get different errors with silly solutions.
2>As
you are dealing with multiple files like in my case files are
header.h,declaration.h,init.c,clean.c,fops.h,prototypes.h,devopen.c,
devrelease.c,devwrite.c...BE CAREFUL about the handling the variables used in these files....
3> Using EXTERN command ,,, just keep a single logic where to declare extern and how to use it.
4>sometimes the TEST script can make a issue...so also update your script acc. to programs.
5>Don't
used any variable or pointer which has no use.although there would be
warning no error...but it will create problems in inserting the driver.
It looks like you're new here. If you want to get involved, click one of these buttons!