Re: [PATCH v2 0/4] platform/x86: x86-android-tablets: use real firmware node references with intel drivers
From: Bartosz Golaszewski
Date: Thu Apr 02 2026 - 09:42:52 EST
On Thu, Apr 2, 2026 at 3:23 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>
> > 3. Export the acpi_bus_type symbol. It's already available in the
> > acpi_bus.h header but it's not available to loadable modules.
>
> Nowadays we don't do that but export the dev_is_acpi() or something similar if
> it's not yet available and to_acpi_dev(). (Names are derived from the existing
> pattern, they might be need to be adjusted, dunno.) See how PNP does that.
> Note, I haven't read the patches yet, just a quick comment.
>
Maybe I should have said why I do it. It's to register a notifier call
on ACPI bus events. Is there a better way to do this?
Bart