]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: constify the disciplines
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 1 Oct 2020 17:11:33 +0000 (19:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Oct 2020 23:22:49 +0000 (16:22 -0700)
commit0579160741b3720b4b225e5925ba6c435998e1a7
tree794846ed89af631fdcc07deffd30c370fc11a671
parent658ee942dac5b049d5cba3bc80b5dc292d52eac7
s390/qeth: constify the disciplines

The discipline struct is a fixed group of function pointers.
So declare the L2 and L3 disciplines as constant.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core.h
drivers/s390/net/qeth_l2_main.c
drivers/s390/net/qeth_l3_main.c