Problem registering the Platform ADC driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Friends,

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

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux