]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
net: ethernet: ti: davinci_cpdma: make function cpdma_desc_pool_create static
authorColin Ian King <colin.king@canonical.com>
Thu, 21 Jun 2018 17:16:45 +0000 (18:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Jun 2018 00:31:09 +0000 (09:31 +0900)
commit40141bb480a2c7805e8f4faec14ade90121ecb06
tree5601f937dc230be8d982657d97055f09f8261622
parent962c661f14ad08d524f4870eeaa2d0856b830840
net: ethernet: ti: davinci_cpdma: make function cpdma_desc_pool_create static

The function cpdma_desc_pool_create is local to the source and does not
need to be in global scope, so make it static.

Cleans up sparse warning:
warning: symbol 'cpdma_desc_pool_create' was not declared. Should it
be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_cpdma.c