Skip to content

Commit

Permalink
ata: pata_acpi: Make PCI dependency explicit
Browse files Browse the repository at this point in the history
After commit 5d32a66 (PCI/ACPI: Allow ACPI to be built without
CONFIG_PCI set) dependencies on CONFIG_PCI that previously were
satisfied implicitly through dependencies on CONFIG_ACPI have to be
specified directly. PATA_ACPI is a PCI device driver but the PCI
dependency has not been explicitly called out.

Fixes: 5d32a66 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set")
Acked-by: Bartlomiej Zolnierkiewicz <[email protected]>
Signed-off-by: Sinan Kaya <[email protected]>
Reviewed-by: Jens Axboe <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
  • Loading branch information
Sinan Kaya authored and rafaeljw committed Jan 15, 2019
1 parent 1622745 commit 995592b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ comment "Generic fallback / legacy drivers"

config PATA_ACPI
tristate "ACPI firmware driver for PATA"
depends on ATA_ACPI && ATA_BMDMA
depends on ATA_ACPI && ATA_BMDMA && PCI
help
This option enables an ACPI method driver which drives
motherboard PATA controller interfaces through the ACPI
Expand Down

0 comments on commit 995592b

Please sign in to comment.