Re: Problem registering the Platform ADC driver

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

 





On Tue, May 24, 2011 at 1:42 PM, Joachim Holst <jocke@xxxxxxxxxxxxx> wrote:
Hi again!

Sorry if I answered questions You were already aware of. Was too quick to
answer.

:-(

/Jocke!

Thanks Jocke, for your reply. As you said in your example of board-msm7x30.c file which uses platform_add_devices, my board file board-icnova_adb4000.c uses platform_device_register for the registration of all peripherals initialized under function __init ek_board_init(void). I found that platform_add_device or platform_register_device can be used for device registration.

Here is board-icnova_adb4000.c http://pastebin.com/dr0QzsyQ Linux#390. The functions called under ek_board_init are defined under http://lxr.linux.no/#linux+v2.6.38/arch/arm/mach-at91/at91sam9g45_devices.c. All of them uses platform_device_register. In my case also it should work.

Still I am not sure why it is not working, any further thoughts or suggestions?

Have a Nice time,
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