summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/greybus_protocols.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-12-28 11:59:00 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2015-12-30 13:13:04 -0800
commit57c6bcc635626e24fff3546bb072b4ba4163872b (patch)
tree5501536e0d5d531ec1bdca6e772609d2b1c7e0ac /drivers/staging/greybus/greybus_protocols.h
parent63d742b68abd09977dfa9f488e5494ec65485ef0 (diff)
greybus: interface: Receive serial-number on hotplug event
Two exactly same modules can be uniquely identified using module's serial-number. This patch updates the interface hotplug event to also receive the serial-number of the module. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/greybus_protocols.h')
-rw-r--r--drivers/staging/greybus/greybus_protocols.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/greybus_protocols.h b/drivers/staging/greybus/greybus_protocols.h
index 773e1ab789c0..f66f4d784f27 100644
--- a/drivers/staging/greybus/greybus_protocols.h
+++ b/drivers/staging/greybus/greybus_protocols.h
@@ -757,6 +757,7 @@ struct gb_svc_intf_hotplug_request {
__le32 ddbl1_prod_id;
__le32 ara_vend_id;
__le32 ara_prod_id;
+ __le64 serial_number;
} data;
} __packed;
/* hotplug response has no payload */