lkml.org 
[lkml]   [2009]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 10/16] dma-debug: add add checking for map/unmap_sg
From
Date
On Mon, 2009-01-19 at 15:46 +0100, Joerg Roedel wrote:
>
> +extern void debug_dma_map_sg(struct device *dev, struct scatterlist *sg,
> + int nents, int direction);
> +
> +extern void debug_dma_unmap_sg(struct device *dev, struct scatterlist *sglist,
> + int nelems, int dir);

You want a forward declaration of 'struct scatterlist' to go with those.

--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation



\
 
 \ /
  Last update: 2009-02-05 23:33    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean