summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/interface.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/interface.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/interface.h')
-rw-r--r--drivers/staging/greybus/interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/interface.h b/drivers/staging/greybus/interface.h
index d192b74ab5e1..a1a1f9f5c2cb 100644
--- a/drivers/staging/greybus/interface.h
+++ b/drivers/staging/greybus/interface.h
@@ -30,6 +30,7 @@ struct gb_interface {
u32 ddbl1_product_id;
u32 vendor_id;
u32 product_id;
+ u64 serial_number;
struct gb_host_device *hd;