I recently updated Ubuntu from 10.04 to 12.04 this changed the linux Kernel from 2.6.35-30-server to 3.0.0-29-server. After the update I am currently getting an error when I am compiling my driver code.
error: implicit declaration of function 'semaphore_init' [-Werror=implict-function-declaration].
How do I resolve this ?