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
@@ -1601,7 +1601,7 @@ static struct proto bcm_proto __read_mostly = {
|
||||
.init = bcm_init,
|
||||
};
|
||||
|
||||
static struct can_proto bcm_can_proto __read_mostly = {
|
||||
static const struct can_proto bcm_can_proto = {
|
||||
.type = SOCK_DGRAM,
|
||||
.protocol = CAN_BCM,
|
||||
.ops = &bcm_ops,
|
||||
|
Reference in New Issue
Block a user