diff options
Diffstat (limited to 'net/can/af_can.c')
-rw-r--r-- | net/can/af_can.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/can/af_can.c b/net/can/af_can.c index 606832115674..3f2eb27e1ffb 100644 --- a/net/can/af_can.c +++ b/net/can/af_can.c | |||
@@ -842,7 +842,7 @@ static struct packet_type can_packet __read_mostly = { | |||
842 | .func = can_rcv, | 842 | .func = can_rcv, |
843 | }; | 843 | }; |
844 | 844 | ||
845 | static struct net_proto_family can_family_ops __read_mostly = { | 845 | static const struct net_proto_family can_family_ops = { |
846 | .family = PF_CAN, | 846 | .family = PF_CAN, |
847 | .create = can_create, | 847 | .create = can_create, |
848 | .owner = THIS_MODULE, | 848 | .owner = THIS_MODULE, |