]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/can/bcm.c
can: make struct can_proto const
[karo-tx-linux.git] / net / can / bcm.c
index 8a6a05e7c3c8de434caf5ffbbb42316086c847b2..cced806098a94ab81f76347c5bdc0ab0c23e28e3 100644 (file)
@@ -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,