Re: [PATCH 10/16] dma-debug: add add checking for map/unmap_sg

From: David Woodhouse
Date: Thu Feb 05 2009 - 17:31:25 EST


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@xxxxxxxxx Intel Corporation

--
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/