]> rtime.felk.cvut.cz Git - socketcan-devel.git/blobdiff - kernel/2.6/net/can/isotp.c
can: make struct can_proto const
[socketcan-devel.git] / kernel / 2.6 / net / can / isotp.c
index d6df4421cdc761818156fe929f01ea9e2d9c265d..1282a9cbe7fe88cc288f9acd02abd1ddee3d084c 100644 (file)
@@ -1158,7 +1158,7 @@ static struct proto isotp_proto __read_mostly = {
        .init       = isotp_init,
 };
 
-static struct can_proto isotp_can_proto __read_mostly = {
+static const struct can_proto isotp_can_proto = {
        .type       = SOCK_DGRAM,
        .protocol   = CAN_ISOTP,
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)