From: Vinod Koul <vinod.koul@intel.com>
Date: Tue, 9 Aug 2011 04:38:10 +0000 (+0530)
Subject: dmaengine: remove struct scatterlist for header
X-Git-Tag: firefly_0821_release~3680^2~4191^2~18^2~27
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a16e470caa173d323ef68dcac98c899b95fa4f84;p=firefly-linux-kernel-4.4.55.git

dmaengine: remove struct scatterlist for header

Commit 90b44f8 introduces dmaengine_prep_slave_single API which adds
scatterlist.h in dmaengine.h, so defining struct scatterlist is not required

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Acked-by: Dan Williams <dan.j.williams@intel.com>
---

diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index 0d738c95fe4e..ace51af4369f 100644
--- a/include/linux/dmaengine.h
+++ b/include/linux/dmaengine.h
@@ -26,8 +26,6 @@
 #include <linux/dma-direction.h>
 #include <linux/scatterlist.h>
 
-struct scatterlist;
-
 /**
  * typedef dma_cookie_t - an opaque DMA cookie
  *