From: Fengguang Wu Date: Tue, 16 Apr 2013 05:41:26 +0000 (+0800) Subject: ioatdma: ioat3_alloc_sed can be static X-Git-Tag: upstream/snapshot3+hdmi~5139^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e6a30fec08b421a59064437a7d990c70a80a7e7f;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ioatdma: ioat3_alloc_sed can be static Reported-by: Fengguang Wu Signed-off-by: Fengguang Wu Acked-by: Dave Jiang Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/ioat/dma_v3.c b/drivers/dma/ioat/dma_v3.c index 28f8957..ca6ea9b 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], pq16->coef[idx - 8] = coef; } -struct ioat_sed_ent * +static struct ioat_sed_ent * ioat3_alloc_sed(struct ioatdma_device *device, unsigned int hw_pool) { struct ioat_sed_ent *sed; @@ -287,7 +287,7 @@ ioat3_alloc_sed(struct ioatdma_device *device, unsigned int hw_pool) return sed; } -void ioat3_free_sed(struct ioatdma_device *device, struct ioat_sed_ent *sed) +static void ioat3_free_sed(struct ioatdma_device *device, struct ioat_sed_ent *sed) { if (!sed) return;