]> git.baikalelectronics.ru Git - kernel.git/commit
hamradio: baycom: make hdlcdrv_ops const
authorBhumika Goyal <bhumirks@gmail.com>
Sun, 6 Aug 2017 08:51:45 +0000 (14:21 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 21:26:46 +0000 (14:26 -0700)
commit5571c8fbfa9911ee5d03122d57ecdd973a1474e3
treeac45150c0afc559d0a50936a60044a12727e34ff
parentc390aad78d226f86659e04368894f39a0a6b0c4b
hamradio: baycom: make hdlcdrv_ops const

Make hdlcdrv_ops structures const as they are only passed to
hdlcdrv_register function. The corresponding argument is of type const,
so make the structures const.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hamradio/baycom_par.c
drivers/net/hamradio/baycom_ser_fdx.c
drivers/net/hamradio/baycom_ser_hdx.c