platform_driver_register vs. driver_register

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

 



Hi,

I am porting ISP1761 USB driver to an embedded system. The driver code uses platform_driver_register() in the module_init() routine: isp1761_module_init. But the kernel I am using is 2.6.14 which does not have a platform_device.h file. I have to replace platform_driver_register() with driver_register() in order to compile it without errors. After that is done, somehow the probe() function is not invoked after driver_register() is called. So the subsequent code of the driver will not run correctly. Do I do this correctly? How can I invoke the probe() by using driver_register()? Please help. Thank you.

I am not sure if this is the right place to ask; if not, please direct me to an appropriate place. Thank you.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[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