[Ksummit-2012-discuss] [ATTEND] Complex dependencies in device model

H. Peter Anvin hpa at zytor.com
Wed Jun 20 21:03:24 UTC 2012

On 06/20/2012 11:54 AM, Stephen Warren wrote:
> On 06/20/2012 12:19 PM, H. Peter Anvin wrote:
>> On 06/20/2012 10:23 AM, Stephen Warren wrote:
>>> Well, this only affects probe() right, not the body of the driver?
>> No.  You need to be able to get device-specific parameters, too.
> OK, given both your and Matthew's responses, it sounds like the
> additional properties are being parsed somewhere other than probe().
> Where you that be? Every device I've worked on does all the DT parsing
> (or platform data validation etc.) in probe(), or a child function
> thereof, and stores the result in the drvdata struct. Is that not universal?

Well, it depends I guess.  When you say "probe" I was thinking
identification, though.


More information about the Ksummit-2012-discuss mailing list