On Wed, 5 Jun 2024 21:41:04 +0300 Andy Shevchenko <andy.shevchenko@xxxxxxxxx> wrote: > > + struct device *dev = kobj_to_dev(kobj); > > Is this declared in device.h or elsewhere? It is in device.h.
On Wed, 5 Jun 2024 21:41:04 +0300 Andy Shevchenko <andy.shevchenko@xxxxxxxxx> wrote: > > + struct device *dev = kobj_to_dev(kobj); > > Is this declared in device.h or elsewhere? It is in device.h.