aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2016-06-07 11:54:48 -0400
committerVinod Koul <vinod.koul@intel.com>2016-06-07 23:32:16 -0400
commit7978a583b1d4413f4e58b145081a4a93d94398f7 (patch)
treeb0db9e9951ea43bbbb3939a64c317f723fb7dd8e
parent1a695a905c18548062509178b98bc91e67510864 (diff)
dmaengine: sirf: fix un-exported struct warnings
The sirfsoc_dmadata structs are not used outside the driver, so remove build warnings by making them static. Fixes: drivers/dma/sirf-dma.c:1129:24: warning: symbol 'sirfsoc_dmadata_a6' was not declared. Should it be static? drivers/dma/sirf-dma.c:1134:24: warning: symbol 'sirfsoc_dmadata_a7v1' was not declared. Should it be static? drivers/dma/sirf-dma.c:1139:24: warning: symbol 'sirfsoc_dmadata_a7v2' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
-rw-r--r--drivers/dma/sirf-dma.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dma/sirf-dma.c b/drivers/dma/sirf-dma.c
index e48350e65089..dde392d04f6a 100644
--- a/drivers/dma/sirf-dma.c
+++ b/drivers/dma/sirf-dma.c
@@ -1126,17 +1126,17 @@ static const struct dev_pm_ops sirfsoc_dma_pm_ops = {
1126 SET_SYSTEM_SLEEP_PM_OPS(sirfsoc_dma_pm_suspend, sirfsoc_dma_pm_resume) 1126 SET_SYSTEM_SLEEP_PM_OPS(sirfsoc_dma_pm_suspend, sirfsoc_dma_pm_resume)
1127}; 1127};
1128 1128
1129struct sirfsoc_dmadata sirfsoc_dmadata_a6 = { 1129static struct sirfsoc_dmadata sirfsoc_dmadata_a6 = {
1130 .exec = sirfsoc_dma_execute_hw_a6, 1130 .exec = sirfsoc_dma_execute_hw_a6,
1131 .type = SIRFSOC_DMA_VER_A6, 1131 .type = SIRFSOC_DMA_VER_A6,
1132}; 1132};
1133 1133
1134struct sirfsoc_dmadata sirfsoc_dmadata_a7v1 = { 1134static struct sirfsoc_dmadata sirfsoc_dmadata_a7v1 = {
1135 .exec = sirfsoc_dma_execute_hw_a7v1, 1135 .exec = sirfsoc_dma_execute_hw_a7v1,
1136 .type = SIRFSOC_DMA_VER_A7V1, 1136 .type = SIRFSOC_DMA_VER_A7V1,
1137}; 1137};
1138 1138
1139struct sirfsoc_dmadata sirfsoc_dmadata_a7v2 = { 1139static struct sirfsoc_dmadata sirfsoc_dmadata_a7v2 = {
1140 .exec = sirfsoc_dma_execute_hw_a7v2, 1140 .exec = sirfsoc_dma_execute_hw_a7v2,
1141 .type = SIRFSOC_DMA_VER_A7V2, 1141 .type = SIRFSOC_DMA_VER_A7V2,
1142}; 1142};