Re: Sharing a driver between similar devices
Michael Hope
On Fri, 24 Jul 2020 at 22:06, Bolivar, Marti <Marti.Bolivar@...> wrote: Hi Michael, That sounds good. The second part of the problem is iterating over both the lsm6dsl and lsm6ds3 types. Doing two DT_INST_FOREACH_STATUS_OKAY(fn), one for each compat, can give name collisions. Any ideas? -- Michael
|
|