diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2020-10-01 20:11:33 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-10-03 02:22:49 +0300 |
commit | 50144f675363c368400eedd52c6680163b3260eb (patch) | |
tree | 794846ed89af631fdcc07deffd30c370fc11a671 /drivers/s390/net/qeth_l2_main.c | |
parent | 949bbf4d2db873a6c229a43d816d9f8152b31704 (diff) | |
download | linux-50144f675363c368400eedd52c6680163b3260eb.tar.xz |
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>
Diffstat (limited to 'drivers/s390/net/qeth_l2_main.c')
-rw-r--r-- | drivers/s390/net/qeth_l2_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c index c0ceeddd1549..2e9d3fea60e6 100644 --- a/drivers/s390/net/qeth_l2_main.c +++ b/drivers/s390/net/qeth_l2_main.c @@ -2340,7 +2340,7 @@ static int qeth_l2_control_event(struct qeth_card *card, } } -struct qeth_discipline qeth_l2_discipline = { +const struct qeth_discipline qeth_l2_discipline = { .devtype = &qeth_l2_devtype, .setup = qeth_l2_probe_device, .remove = qeth_l2_remove_device, |