net: dsa: sja1105: Make static_config_check_memory_size static
Fix sparse warning: drivers/net/dsa/sja1105/sja1105_static_config.c:446:1: warning: symbol 'static_config_check_memory_size' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Acked-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4138413660
commit
5ee907f70e
@ -442,7 +442,7 @@ const char *sja1105_static_config_error_msg[] = {
|
|||||||
"vl-forwarding-parameters-table.partspc.",
|
"vl-forwarding-parameters-table.partspc.",
|
||||||
};
|
};
|
||||||
|
|
||||||
sja1105_config_valid_t
|
static sja1105_config_valid_t
|
||||||
static_config_check_memory_size(const struct sja1105_table *tables)
|
static_config_check_memory_size(const struct sja1105_table *tables)
|
||||||
{
|
{
|
||||||
const struct sja1105_l2_forwarding_params_entry *l2_fwd_params;
|
const struct sja1105_l2_forwarding_params_entry *l2_fwd_params;
|
||||||
|
Loading…
Reference in New Issue
Block a user