]> rtime.felk.cvut.cz Git - socketcan-devel.git/blobdiff - kernel/2.6/net/can/isotp.c
capabilities have been dropped in 2.6.33
[socketcan-devel.git] / kernel / 2.6 / net / can / isotp.c
index 6c1f25c5abfee79631c3d6e52394d8f623b1394c..b8249845002d4fa819afa1372678998299205df3 100644 (file)
@@ -1156,7 +1156,9 @@ static struct proto isotp_proto __read_mostly = {
 static struct can_proto isotp_can_proto __read_mostly = {
        .type       = SOCK_DGRAM,
        .protocol   = CAN_ISOTP,
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)
        .capability = -1,
+#endif
        .ops        = &isotp_ops,
        .prot       = &isotp_proto,
 };