From: Christoph Hellwig Date: Tue, 21 Nov 2017 13:23:37 +0000 (+0100) Subject: scsi: dma-mapping: always provide dma_get_cache_alignment X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d3385ab636b47a61f12798b3205cec4548a8547;p=pandora-kernel.git scsi: dma-mapping: always provide dma_get_cache_alignment commit 860dd4424f344400b491b212ee4acb3a358ba9d9 upstream. Provide the dummy version of dma_get_cache_alignment that always returns 1 even if CONFIG_HAS_DMA is not set, so that drivers and subsystems can use it without ifdefs. Signed-off-by: Christoph Hellwig Signed-off-by: Martin K. Petersen [bwh: Backported to 3.2: Also delete the conflicting declaration in ] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed