Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5323

Device Tree • Re: PWM driver questions

$
0
0
Do you also have the following in your driver?

Code:

module_platform_driver(my_platform_driver);
Without it, the kernel will not find your probe function.
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?

Statistics: Posted by wkeeling — Mon Mar 11, 2024 2:53 pm



Viewing all articles
Browse latest Browse all 5323

Trending Articles