]> 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)
commit17b88f1d86661d73a3f2f3539e6f85ce19f3ba25
tree794846ed89af631fdcc07deffd30c370fc11a671
parent95500f8914ceb03ad08551f6e69f630c7327e4d5
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