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)
commitc6a9d3eaee508f53ec4f777035522565ed567692
treec26d94d867004acf39a19ba44deda05ed1f1cd6a
parent84817ef091f378b3f9fc86b02efb48b3fc1a3428
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