Dear Friends,<br><br><span>I am having issue with registering the platform device driver for ADC. <br><br><a target="_content" class="chatzilla-link" href="http://pastebin.com/Ym1NTkfL">http://pastebin.com/Ym1NTkfL</a>
- Link contains the snip code of kernel platform device
and driver registration code . <br><br>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? <br><br>I tried to find and study over internet about how to create platform device driver but in vain. </span><br><br><span style="background-color: rgb(255, 204, 0);">Output:</span><br><br># insmod adc_at91.ko <br>
<8>Under at91_adc_init <br><br># rmmod adc_at91.ko <br><8>Under at91_adc_exit <br><br>Thank you,<br>Ankur.<br>