PCI: acpiphp: Convert acpiphp to be builtin only, not modular
Convert acpiphp to be builtin only, with no module option. Previously, when HOTPLUG_PCI_ACPI=m, users could disable acpiphp by removing the module or preventing it from loading. That can't be done if acpiphp is builtin statically, so this adds an "acpiphp.disable" kernel parameter. If a user needs to use this parameter, it is a bug, and we want to hear about it. [bhelgaas: fold in acpiphp.disable here, remove documentation] Signed-off-by: Jiang Liu <jiang.liu@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:

zatwierdzone przez
Bjorn Helgaas

rodzic
5c0b04e3d9
commit
6037a803b0
@@ -190,5 +190,6 @@ extern u8 acpiphp_get_adapter_status (struct acpiphp_slot *slot);
|
||||
|
||||
/* variables */
|
||||
extern bool acpiphp_debug;
|
||||
extern bool acpiphp_disabled;
|
||||
|
||||
#endif /* _ACPIPHP_H */
|
||||
|
Reference in New Issue
Block a user