OSDN Git Service

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)
commit8d1d32767ca0df1b5cd75cdc1be3915bc6887ed1
tree3a38130356297e76263eb0b97c0b17adbbb28911
parentb8c01d259a08d75c5049b2bd5f579648262c30a4
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