[PATCH 1/2] ata: ahci-pci: Fix dependency on DM_PCI

Stefan Roese sr at denx.de
Mon Aug 16 09:57:10 CEST 2021


On 15.08.21 16:27, Pali Rohár wrote:
> File drivers/ata/ahci-pci.c calls function ahci_probe_scsi_pci() which is
> compiled only when DM_PCI is enabled. So add missing dependency into
> Kconfig.
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan

> ---
>   drivers/ata/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
> index 6f0b77238364..0c1490a9f900 100644
> --- a/drivers/ata/Kconfig
> +++ b/drivers/ata/Kconfig
> @@ -36,6 +36,7 @@ menu "SATA/SCSI device support"
>   
>   config AHCI_PCI
>   	bool "Support for PCI-based AHCI controller"
> +	depends on DM_PCI
>   	depends on DM_SCSI
>   	help
>   	  Enables support for the PCI-based AHCI controller.
> 


Viele Grüße,
Stefan

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list