On Sun, May 18, 2025, at 12:18, Janne Grunau via B4 Relay wrote: *ops); > +#ifdef CONFIG_ACPI_PLATFORM_PROFILE > int platform_profile_cycle(void); > +#else CONFIG_ACPI_PLATFORM_PROFILE is a 'tristate' symbol, so the #ifdef check is wrong here when both the caller and the platform profile are in a loadable module. I think what you want here is #if IS_ENABLED(CONFIG_ACPI_PLATFORM_PROFILE) Alternatively, you could move that check into the caller and do if (IS_ENABLED(CONFIG_ACPI_PLATFORM_PROFILE)) ret = platform_profile_cycle(); which makes it a little easier to catch build failures in drivers that are missing the 'select ACPI_PLATFORM_PROFILE'. Arnd