пт, 10 июн. 2022 г. в 12:35, Sascha Hauer <sha@xxxxxxxxxxxxxx>: > > On Fri, Jun 10, 2022 at 11:56:31AM +0300, Alexander Shiyan wrote: > > This patch adds a context entry for the clocksource structure. > > This field can be used to store any private driver data, and to > > distinguish between multiple driver instances for debugging purposes. > > You could embed struct clocksource in a private struct and use > container_of() to get that from the struct clocksource *. Oh sure. But even in this case, we need to pass the pointer of the clocksource structure to the read() function. _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox