usb: typec: ucsi: ucsi: Staticify and stop export of ucsi_init()
authorLee Jones <lee.jones@linaro.org>
Mon, 6 Jul 2020 13:33:33 +0000 (14:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jul 2020 15:19:58 +0000 (17:19 +0200)
commite6b073dea39bd8bfb02e05f46f27d94dc006e91c
treeb51419e1522149dc5ef771e518cccc968d953e83
parent1a4f38a6224a891dfec56c7459e4309fe5f073d6
usb: typec: ucsi: ucsi: Staticify and stop export of ucsi_init()

It isn't called from anywhere outside of ucsi.c.

Fixes the following W=1 kernel build warning(s):

 drivers/usb/typec/ucsi/ucsi.c:1005:5: warning: no previous prototype for ‘ucsi_init’ [-Wmissing-prototypes]
 1005 | int ucsi_init(struct ucsi *ucsi)
 | ^~~~~~~~~

Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20200706133341.476881-25-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi.c