Kernel module - void value not ignored as it ought to be
Hi,
I have written a small character driver, in the cleanup module at the line
int a=unregister_chrdev(Major,DEVICE_NAME);
I am getting the following error
error: void value not ignored as it ought to be
If the value return by unregister_chrdev() function is not stored in any variable it is working fine...
Please help.
Thank you.
Last edited by taousif; 02-08-2011 at 03:10 AM.
|