diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-29 19:47:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-30 02:05:07 +0300 |
commit | 7e3108fab50a292e95ac8821da8b7d34b2fbb809 (patch) | |
tree | 165cbfcd66a244a22bbc2b2af4862f6c86b39dfe /drivers/net/dsa/bcm_sf2.c | |
parent | 1b70d792cf6775fb5d0737524387893daeb5374a (diff) | |
download | linux-7e3108fab50a292e95ac8821da8b7d34b2fbb809.tar.xz |
net: dsa: make some structures const
Make these const as they are not modified anywhere.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/bcm_sf2.c')
-rw-r--r-- | drivers/net/dsa/bcm_sf2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/bcm_sf2.c b/drivers/net/dsa/bcm_sf2.c index bbcb4053e04e..8492c9d64004 100644 --- a/drivers/net/dsa/bcm_sf2.c +++ b/drivers/net/dsa/bcm_sf2.c @@ -983,7 +983,7 @@ static int bcm_sf2_core_write64(struct b53_device *dev, u8 page, u8 reg, return 0; } -static struct b53_io_ops bcm_sf2_io_ops = { +static const struct b53_io_ops bcm_sf2_io_ops = { .read8 = bcm_sf2_core_read8, .read16 = bcm_sf2_core_read16, .read32 = bcm_sf2_core_read32, |