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>
This commit is contained in:
parent
84817ef091
commit
c6a9d3eaee
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue