]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: dma: Mark functions as static in dma_v3.c
authorRashika <rashika.kheria@gmail.com>
Mon, 16 Dec 2013 10:10:40 +0000 (15:40 +0530)
committerDan Williams <dan.j.williams@intel.com>
Thu, 10 Apr 2014 19:17:35 +0000 (12:17 -0700)
commitf890e7517c29108681378184e60a88f77bbec804
tree3a38130356297e76263eb0b97c0b17adbbb28911
parent43316bd44c93317d8bf6d0a494d48e8ca1e4fcef
drivers: dma: Mark functions as static in dma_v3.c

Mark the functions ioat3_prep_xor_val(), ioat3_prep_pq_val() and
ioat3_prep_pqxor_val() as static in dma_v3.c because they are not used
outside this file.

This eliminates the following warnings in dma_v3.c:
drivers/dma/ioat/dma_v3.c:741:1: warning: no previous prototype for ‘ioat3_prep_xor_val’ [-Wmissing-prototypes]
drivers/dma/ioat/dma_v3.c:1092:1: warning: no previous prototype for ‘ioat3_prep_pq_val’ [-Wmissing-prototypes]
drivers/dma/ioat/dma_v3.c:1134:1: warning: no previous prototype for ‘ioat3_prep_pqxor_val’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/ioat/dma_v3.c