Hi I'm a beginner in linux's device driver. 
I am getting below errors - 

implicit declaration of function ‘ioperm'
implicit declaration of function ‘sleep’

And when I am adding sys/io.h then i am getting "fatal error: sys/io.h: No such file or directory.

One more question - 

How can I convert scan code to character. 

Please reply!

Thanks
Khorwal