diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-12-28 11:59:00 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-12-30 13:13:04 -0800 |
commit | 57c6bcc635626e24fff3546bb072b4ba4163872b (patch) | |
tree | 5501536e0d5d531ec1bdca6e772609d2b1c7e0ac /drivers/staging/greybus/interface.h | |
parent | 63d742b68abd09977dfa9f488e5494ec65485ef0 (diff) | |
download | op-kernel-dev-57c6bcc635626e24fff3546bb072b4ba4163872b.zip op-kernel-dev-57c6bcc635626e24fff3546bb072b4ba4163872b.tar.gz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/interface.h b/drivers/staging/greybus/interface.h index d192b74..a1a1f9f 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; |