summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/operation.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/greybus/operation.h')
-rw-r--r--drivers/staging/greybus/operation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/greybus/operation.h b/drivers/staging/greybus/operation.h
index 82b8fe57f8a0..3b02db5cd08b 100644
--- a/drivers/staging/greybus/operation.h
+++ b/drivers/staging/greybus/operation.h
@@ -69,6 +69,8 @@ struct gb_operation_msg_hdr {
__u8 pad[2]; /* must be zero (ignore when read) */
} __aligned(sizeof(u64));
+#define GB_OPERATION_MESSAGE_SIZE_MAX 4096
+
/*
* Protocol code should only examine the payload and payload_size
* fields. All other fields are intended to be private to the