I am having issue with registering the platform device driver for ADC.
http://pastebin.com/Ym1NTkfL - Link contains the snip code of kernel platform device and driver registration code .
I have build the driver as module. When I load the driver as module, the probe function is not called from the driver. Can any one suggest what is missing in the code?
I tried to find and study over internet about how to create platform device driver but in vain.
Output:
# insmod adc_at91.ko
<8>Under at91_adc_init
# rmmod adc_at91.ko
<8>Under at91_adc_exit
Thank you,
Ankur.
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies