can: make struct can_proto const
commit 53914b6799
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>
This commit is contained in:
committed by
David S. Miller
parent
5a412ad7f4
commit
1650629d18
@@ -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,
|
||||
|
Reference in New Issue
Block a user