diff options
| author | Geert Uytterhoeven <[email protected]> | 2016-01-15 13:39:08 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2016-01-21 00:50:54 +0000 |
| commit | fb7a6ae7554f15b5b0b7f31b02ed4ef40a8c2eb6 (patch) | |
| tree | dc8ac6c4a5767aa1f4772691a3bc732cd289e3e7 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | Merge tag 'dmaengine-fix-4.5-rc1' of git://git.infradead.org/users/vkoul/slav... (diff) | |
| download | kernel-fb7a6ae7554f15b5b0b7f31b02ed4ef40a8c2eb6.tar.gz kernel-fb7a6ae7554f15b5b0b7f31b02ed4ef40a8c2eb6.zip | |
hisi_sas: SCSI_HISI_SAS should depend on HAS_DMA
If NO_DMA=y:
ERROR: "dma_map_sg" [drivers/scsi/hisi_sas/hisi_sas_v1_hw.ko] undefined!
ERROR: "dma_pool_alloc" [drivers/scsi/hisi_sas/hisi_sas_v1_hw.ko] undefined!
ERROR: "dma_unmap_sg" [drivers/scsi/hisi_sas/hisi_sas_v1_hw.ko] undefined!
ERROR: "dma_unmap_sg" [drivers/scsi/hisi_sas/hisi_sas_main.ko] undefined!
ERROR: "dma_set_mask" [drivers/scsi/hisi_sas/hisi_sas_main.ko] undefined!
ERROR: "dma_map_sg" [drivers/scsi/hisi_sas/hisi_sas_main.ko] undefined!
ERROR: "dma_pool_destroy" [drivers/scsi/hisi_sas/hisi_sas_main.ko] undefined!
ERROR: "dma_free_coherent" [drivers/scsi/hisi_sas/hisi_sas_main.ko] undefined!
ERROR: "dma_pool_free" [drivers/scsi/hisi_sas/hisi_sas_main.ko] undefined!
ERROR: "dma_alloc_coherent" [drivers/scsi/hisi_sas/hisi_sas_main.ko] undefined!
ERROR: "dma_pool_alloc" [drivers/scsi/hisi_sas/hisi_sas_main.ko] undefined!
ERROR: "dma_supported" [drivers/scsi/hisi_sas/hisi_sas_main.ko] undefined!
ERROR: "dma_pool_create" [drivers/scsi/hisi_sas/hisi_sas_main.ko] undefined!
Add a dependency on HAS_DMA to fix this.
Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: John Garry <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
