]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: sunxi: make unexported symbols static
authorBen Dooks <ben.dooks@codethink.co.uk>
Thu, 30 Jun 2016 17:12:31 +0000 (12:12 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Jul 2016 23:23:57 +0000 (08:23 +0900)
commitf42ee4c5f0fbde11ee18767b675ea325c1126b70
tree1a91f11d070dd9fac073e2d3ac005858633f6ca9
parent775affd06820f250ee702bce636d3257c0153890
usb: musb: sunxi: make unexported symbols static

The sunxi_musb_dma_controller_create and _destroy are not exported
or used outside the driver, so fix sparse warnings by making these
two static:

drivers/usb/musb/sunxi.c:357:23: warning: symbol 'sunxi_musb_dma_controller_create' was not declared. Should it be static?
drivers/usb/musb/sunxi.c:363:6: warning: symbol 'sunxi_musb_dma_controller_destroy' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/sunxi.c