mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-12 11:36:35 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -425,7 +425,7 @@ static const struct regmap_config tcpci_regmap_config = {
|
||||||
.max_register = 0x7F, /* 0x80 .. 0xFF are vendor defined */
|
.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,
|
.type = TYPEC_PORT_DFP,
|
||||||
.default_role = TYPEC_SINK,
|
.default_role = TYPEC_SINK,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue