my progranm of simple device driver is correct… but when i give make command it generate following errors…
make -C /lib/modules/3.2.2-1.fc16.i686/build M=/home/nishu/Documents/device_driver modules
make: *** /lib/modules/3.2.2-1.fc16.i686/build: No such file or directory. Stop.
make: *** [default] Error 2
.
.
You are facing such problem because the link points to kernel sources is not build in your PC so Install a kernel and then compile your Module .