usb: cdns3: Add static to cdns3_gadget_exit function
authorPawel Laszczak <pawell@cadence.com>
Wed, 7 Oct 2020 04:02:30 +0000 (06:02 +0200)
committerPeter Chen <peter.chen@nxp.com>
Thu, 10 Dec 2020 00:45:26 +0000 (08:45 +0800)
commitb3b4a9d70fec50c90c9ee1da408793b50f78a500
treea79bb7260c2d197c2445e1cdb1b8bb2005265d70
parentb65054597872ce3aefbc6a666385eabdf9e288da
usb: cdns3: Add static to cdns3_gadget_exit function

Function cdns3_gadget_exit is used only in gadget.c file.
This patch removes declaration and definition of this
function from gadget-export.h file and makes it static.

Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/cdns3/gadget-export.h
drivers/usb/cdns3/gadget.c