ata: ahci-pci: Fix dependency on DM_PCI
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@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
		
							parent
							
								
									223c44904d
								
							
						
					
					
						commit
						20aa320a4f
					
				|  | @ -36,6 +36,7 @@ menu "SATA/SCSI device support" | ||||||
| 
 | 
 | ||||||
| config AHCI_PCI | config AHCI_PCI | ||||||
| 	bool "Support for PCI-based AHCI controller" | 	bool "Support for PCI-based AHCI controller" | ||||||
|  | 	depends on DM_PCI | ||||||
| 	depends on DM_SCSI | 	depends on DM_SCSI | ||||||
| 	help | 	help | ||||||
| 	  Enables support for the PCI-based AHCI controller. | 	  Enables support for the PCI-based AHCI controller. | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue