aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/sja1105/sja1105_static_config.h
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2020-06-20 20:18:30 +0300
committerDavid S. Miller <davem@davemloft.net>2020-06-22 16:01:28 -0700
commitbe3fb56d6ad163947f541f9e6210fa37fb3b5e6d (patch)
tree111066cd977fcd2558a010f04221503ea9b1dd49 /drivers/net/dsa/sja1105/sja1105_static_config.h
parentMerge branch 'net-dsa-qca8k-Improve-SGMII-interface-handling' (diff)
downloadlinux-dev-be3fb56d6ad163947f541f9e6210fa37fb3b5e6d.tar.xz
linux-dev-be3fb56d6ad163947f541f9e6210fa37fb3b5e6d.zip
net: dsa: sja1105: remove empty structures from config table ops
Sparse is complaining and giving the following warning message: 'Using plain integer as NULL pointer'. This is not what's going on, instead {0} is used as a zero initializer for the structure members, to indicate that the particular chip revision does not support those particular config tables. But since the config tables are declared globally, the unpopulated elements are zero-initialized anyway. So, to make sparse shut up, let's remove the zero initializers. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/sja1105/sja1105_static_config.h')
0 files changed, 0 insertions, 0 deletions