Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ACPI: platform: Hide ACPI_PLATFORM_PROFILE option

The ACPI_PLATFORM_PROFILE option essentially provides a library and not
really an independent module. Thus it seems to be more user-friendly to
hide this option and simply make drivers depending on it select it.

Suggested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Maximilian Luz and committed by
Rafael J. Wysocki
21f05a43 628af439

+3 -17
+1 -15
drivers/acpi/Kconfig
··· 327 327 the module will be called thermal. 328 328 329 329 config ACPI_PLATFORM_PROFILE 330 - tristate "ACPI Platform Profile Driver" 331 - default m 332 - help 333 - This driver adds support for platform-profiles on platforms that 334 - support it. 335 - 336 - Platform-profiles can be used to control the platform behaviour. For 337 - example whether to operate in a lower power mode, in a higher 338 - power performance mode or between the two. 339 - 340 - This driver provides the sysfs interface and is used as the registration 341 - point for platform specific drivers. 342 - 343 - Which profiles are supported is determined on a per-platform basis and 344 - should be obtained from the platform specific driver. 330 + tristate 345 331 346 332 config ACPI_CUSTOM_DSDT_FILE 347 333 string "Custom DSDT Table file to include"
+2 -2
drivers/platform/x86/Kconfig
··· 450 450 depends on BACKLIGHT_CLASS_DEVICE 451 451 depends on ACPI_VIDEO || ACPI_VIDEO = n 452 452 depends on ACPI_WMI || ACPI_WMI = n 453 - depends on ACPI_PLATFORM_PROFILE 453 + select ACPI_PLATFORM_PROFILE 454 454 select INPUT_SPARSEKMAP 455 455 select NEW_LEDS 456 456 select LEDS_CLASS ··· 484 484 depends on RFKILL || RFKILL = n 485 485 depends on ACPI_VIDEO || ACPI_VIDEO = n 486 486 depends on BACKLIGHT_CLASS_DEVICE 487 - depends on ACPI_PLATFORM_PROFILE 487 + select ACPI_PLATFORM_PROFILE 488 488 select HWMON 489 489 select NVRAM 490 490 select NEW_LEDS