diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-06-14 16:50:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-14 13:14:24 -0700 |
commit | 3009e8aa85af080b3e03c803b86fe496b7713e69 (patch) | |
tree | abfcdf3c6dd091ff9698d6c6950545871345fc01 /net/core | |
parent | 0b703008b5d954624c62017207505ff607817e5c (diff) | |
download | linux-3009e8aa85af080b3e03c803b86fe496b7713e69.tar.bz2 |
net: dsa: sja1105: constify the sja1105_regs structures
The struct sja1105_regs tables are not modified during the runtime of
the driver, so they can be made constant. In fact, struct sja1105_info
already holds a const pointer to these.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions