diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2020-01-21 09:01:04 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-01-21 13:10:24 +0530 |
commit | 2bd8010a618c9181dd8d49097a1c72fd396c632e (patch) | |
tree | ee5521e9b1a8fb2a45d7dd3e87893a261971e141 /drivers/dma/ti/k3-psil-priv.h | |
parent | d702419134133db1eab2067dc6ea5723467fd917 (diff) |
dmaengine: ti: k3-psil: make symbols static
Fixe the following warnings by making these static
drivers/dma/ti/k3-psil-j721e.c:62:16: warning: symbol 'j721e_src_ep_map' was not declared. Should it be static?
drivers/dma/ti/k3-psil-j721e.c:172:16: warning: symbol 'j721e_dst_ep_map' was not declared. Should it be static?
drivers/dma/ti/k3-psil-j721e.c:216:20: warning: symbol 'j721e_ep_map' was not declared. Should it be static?
CC drivers/dma/ti/k3-psil-j721e.o
drivers/dma/ti/k3-psil-am654.c:52:16: warning: symbol 'am654_src_ep_map' was not declared. Should it be static?
drivers/dma/ti/k3-psil-am654.c:127:16: warning: symbol 'am654_dst_ep_map' was not declared. Should it be static?
drivers/dma/ti/k3-psil-am654.c:169:20: warning: symbol 'am654_ep_map' was not declared. Should it be static?
Reported-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20200121070104.4393-1-peter.ujfalusi@ti.com
[vkoul: updated patch title]
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/ti/k3-psil-priv.h')
-rw-r--r-- | drivers/dma/ti/k3-psil-priv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/dma/ti/k3-psil-priv.h b/drivers/dma/ti/k3-psil-priv.h index f74420653d8a..a1f389ca371e 100644 --- a/drivers/dma/ti/k3-psil-priv.h +++ b/drivers/dma/ti/k3-psil-priv.h @@ -36,4 +36,8 @@ struct psil_ep_map { struct psil_endpoint_config *psil_get_ep_config(u32 thread_id); +/* SoC PSI-L endpoint maps */ +extern struct psil_ep_map am654_ep_map; +extern struct psil_ep_map j721e_ep_map; + #endif /* K3_PSIL_PRIV_H_ */ |