Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6a9d3ea authored by Olivier Leveque's avatar Olivier Leveque Committed by Greg Kroah-Hartman
Browse files

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: default avatarOlivier Leveque <o_leveque@orange.fr>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 84817ef0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -425,7 +425,7 @@ static const struct regmap_config tcpci_regmap_config = {
	.max_register = 0x7F, /* 0x80 .. 0xFF are vendor defined */
};

const struct tcpc_config tcpci_tcpc_config = {
static const struct tcpc_config tcpci_tcpc_config = {
	.type = TYPEC_PORT_DFP,
	.default_role = TYPEC_SINK,
};