Thanks I didn't, what is device struct address is passed to the platform probe? I assume it is the platform device and then I need to loop thru the child devices and find the PWM device?Do you also have the following in your driver?Without it, the kernel will not find your probe function.Code:
module_platform_driver(my_platform_driver);
Statistics: Posted by wkeeling — Mon Mar 11, 2024 2:53 pm