]> git.baikalelectronics.ru Git - kernel.git/commit
staging: typec: tcpci: declare private structure as static
authorOlivier Leveque <o_leveque@orange.fr>
Tue, 9 May 2017 16:04:53 +0000 (09:04 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 May 2017 09:23:55 +0000 (11:23 +0200)
commit0d070477cc1371bfd8bcd019c7b8b619e651cc8a
treec26d94d867004acf39a19ba44deda05ed1f1cd6a
parent4277400c5c6accdfd23d52638a781953ec8deb6f
staging: typec: tcpci: declare private structure as static

This fixes a sparse warning regarding an undeclared symbol. Since the
structure tcpci_tcpc_config is private to tcpci.c, it should be declared as
static.

Signed-off-by: Olivier Leveque <o_leveque@orange.fr>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/typec/tcpci.c