diff options
author | Kurt Van Dijck <kurt.van.dijck@eia.be> | 2011-05-03 18:40:57 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-04 14:08:36 -0700 |
commit | 1650629d1800bf05ad775f974e931ca2fa03b0ff (patch) | |
tree | babd283e21f033bd9d1a15ccb0d658de43421170 /net/can/raw.c | |
parent | 5a412ad7f4c95bb5b756aa12b52646e857e7c75d (diff) | |
download | blackbird-op-linux-1650629d1800bf05ad775f974e931ca2fa03b0ff.tar.gz blackbird-op-linux-1650629d1800bf05ad775f974e931ca2fa03b0ff.zip |
can: make struct can_proto const
commit 53914b67993c724cec585863755c9ebc8446e83b had the
same message. That commit did put everything in place but
did not make can_proto const itself.
Signed-off-by: Kurt Van Dijck <kurt.van.dijck@eia.be>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/can/raw.c')
-rw-r--r-- | net/can/raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/can/raw.c b/net/can/raw.c index 0eb39a7fdf64..dea99a6e596c 100644 --- a/net/can/raw.c +++ b/net/can/raw.c @@ -774,7 +774,7 @@ static struct proto raw_proto __read_mostly = { .init = raw_init, }; -static struct can_proto raw_can_proto __read_mostly = { +static const struct can_proto raw_can_proto = { .type = SOCK_RAW, .protocol = CAN_RAW, .ops = &raw_ops, |