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

[ACPI] remove "default m" from acpi/Kconfig

Andi Kleen suggested it was unconventional for us to "default m"
on ACPI modules -- even though they are expected to be deployed
as modules. But as "default n" would likely result in some
users building nonsense kernels, we compromise to "default y".

Distros are expected to continue to use =m in their configs.

Signed-off-by: Len Brown <len.brown@intel.com>

Len Brown 07fefe4c bfea6c2a

+19 -19
+19 -19
drivers/acpi/Kconfig
··· 80 80 config ACPI_AC 81 81 tristate "AC Adapter" 82 82 depends on X86 83 - default m 83 + default y 84 84 help 85 85 This driver adds support for the AC Adapter object, which indicates 86 - whether a system is on AC, or not. Typically, only mobile systems 87 - have this object, since desktops are always on AC. 86 + whether a system is on AC, or not. If you have a system that can 87 + switch between A/C and battery, say Y. 88 88 89 89 config ACPI_BATTERY 90 90 tristate "Battery" 91 91 depends on X86 92 - default m 92 + default y 93 93 help 94 94 This driver adds support for battery information through 95 95 /proc/acpi/battery. If you have a mobile system with a battery, ··· 97 97 98 98 config ACPI_BUTTON 99 99 tristate "Button" 100 - default m 100 + default y 101 101 help 102 - This driver registers for events based on buttons, such as the 103 - power, sleep, and lid switch. In the future, a daemon will read 104 - /proc/acpi/event and perform user-defined actions such as shutting 105 - down the system. Until then, you can cat it, and see output when 106 - a button is pressed. 102 + This driver handles events on the power, sleep and lid buttons. 103 + A daemon reads /proc/acpi/event and perform user-defined actions 104 + such as shutting down the system. This is necessary for 105 + software controlled poweroff. 107 106 108 107 config ACPI_VIDEO 109 108 tristate "Video" 110 109 depends on X86 111 - default m 110 + default y 112 111 help 113 112 This driver implement the ACPI Extensions For Display Adapters 114 113 for integrated graphics devices on motherboard, as specified in ··· 128 129 129 130 config ACPI_FAN 130 131 tristate "Fan" 131 - default m 132 + default y 132 133 help 133 134 This driver adds support for ACPI fan devices, allowing user-mode 134 135 applications to perform basic fan control (on, off, status). 135 136 136 137 config ACPI_PROCESSOR 137 138 tristate "Processor" 138 - default m 139 + default y 139 140 help 140 141 This driver installs ACPI as the idle handler for Linux, and uses 141 142 ACPI C2 and C3 processor states to save power, on systems that 142 - support it. 143 + support it. It is required by several flavors of cpufreq 144 + Performance-state drivers. 143 145 144 146 config ACPI_HOTPLUG_CPU 145 147 bool ··· 151 151 config ACPI_THERMAL 152 152 tristate "Thermal Zone" 153 153 depends on ACPI_PROCESSOR 154 - default m 154 + default y 155 155 help 156 156 This driver adds support for ACPI thermal zones. Most mobile and 157 157 some desktop systems support ACPI thermal zones. It is HIGHLY ··· 167 167 config ACPI_ASUS 168 168 tristate "ASUS/Medion Laptop Extras" 169 169 depends on X86 170 - default m 170 + default y 171 171 ---help--- 172 172 This driver provides support for extra features of ACPI-compatible 173 173 ASUS laptops. As some of Medion laptops are made by ASUS, it may also ··· 196 196 config ACPI_IBM 197 197 tristate "IBM ThinkPad Laptop Extras" 198 198 depends on X86 199 - default m 199 + default y 200 200 ---help--- 201 201 This is a Linux ACPI driver for the IBM ThinkPad laptops. It adds 202 202 support for Fn-Fx key combinations, Bluetooth control, video ··· 209 209 config ACPI_TOSHIBA 210 210 tristate "Toshiba Laptop Extras" 211 211 depends on X86 212 - default m 212 + default y 213 213 ---help--- 214 214 This driver adds support for access to certain system settings 215 215 on "legacy free" Toshiba laptops. These laptops can be recognized by ··· 296 296 bool "Power Management Timer Support" 297 297 depends on X86 298 298 depends on !X86_64 299 - default n 299 + default y 300 300 help 301 301 The Power Management Timer is available on all ACPI-capable, 302 302 in most cases even if ACPI is unusable or blacklisted.