diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2013-04-16 01:41:26 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-04-16 09:19:40 -0400 |
commit | e6a30fec08b421a59064437a7d990c70a80a7e7f (patch) | |
tree | f0ca66cb24d5ed78cdd13e43664bfe071769cbca | |
parent | 75c6f0ab480657269b5014e0e457c7b18ba8597e (diff) |
ioatdma: ioat3_alloc_sed can be static
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
-rw-r--r-- | drivers/dma/ioat/dma_v3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/ioat/dma_v3.c b/drivers/dma/ioat/dma_v3.c index 28f8957bafe2..ca6ea9b3551b 100644 --- a/drivers/dma/ioat/dma_v3.c +++ b/drivers/dma/ioat/dma_v3.c | |||
@@ -266,7 +266,7 @@ static void pq16_set_src(struct ioat_raw_descriptor *desc[3], | |||
266 | pq16->coef[idx - 8] = coef; | 266 | pq16->coef[idx - 8] = coef; |
267 | } | 267 | } |
268 | 268 | ||
269 | struct ioat_sed_ent * | 269 | static struct ioat_sed_ent * |
270 | ioat3_alloc_sed(struct ioatdma_device *device, unsigned int hw_pool) | 270 | ioat3_alloc_sed(struct ioatdma_device *device, unsigned int hw_pool) |
271 | { | 271 | { |
272 | struct ioat_sed_ent *sed; | 272 | struct ioat_sed_ent *sed; |
@@ -287,7 +287,7 @@ ioat3_alloc_sed(struct ioatdma_device *device, unsigned int hw_pool) | |||
287 | return sed; | 287 | return sed; |
288 | } | 288 | } |
289 | 289 | ||
290 | void ioat3_free_sed(struct ioatdma_device *device, struct ioat_sed_ent *sed) | 290 | static void ioat3_free_sed(struct ioatdma_device *device, struct ioat_sed_ent *sed) |
291 | { | 291 | { |
292 | if (!sed) | 292 | if (!sed) |
293 | return; | 293 | return; |