Re: [PATCH 1/5] metag: Provide dma_get_sgtable()

From: James Hogan
Date: Wed Feb 27 2013 - 02:51:26 EST


On 27/02/13 07:09, Marek Szyprowski wrote:
> Hello,
>
> On 2/26/2013 12:03 PM, James Hogan wrote:
>> metag/allmodconfig:
>>
>> drivers/media/v4l2-core/videobuf2-dma-contig.c: In function
>> 'vb2_dc_get_base_sgt':
>> drivers/media/v4l2-core/videobuf2-dma-contig.c:387: error: implicit
>> declaration of function 'dma_get_sgtable'
>>
>> For architectures using dma_map_ops, dma_get_sgtable() is provided in
>> <asm-generic/dma-mapping-common.h>.
>>
>> Metag does not use dma_map_ops yet, hence it should implement it as an
>> inline stub using dma_common_get_sgtable().
>>
>> Signed-off-by: James Hogan <james.hogan@xxxxxxxxxx>
>> Cc: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
>> Cc: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>
>
> Acked-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>

Thanks Marek,

Cheers
James

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/