diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2015-12-03 19:18:02 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-12-03 17:25:28 -0800 |
commit | f0960d05f5ece96a7b2539e0adb92bfbfc83bf3e (patch) | |
tree | 57776b905ec43db1e2d152e2f4f87af6064768c6 /drivers/staging/greybus/svc.h | |
parent | 1cacb456fd6b5fd99f0274bef2b2d04b5f259392 (diff) |
greybus: core: add bus id to uevents
Add the bus id to all greybus uevents.
This is needed to identify devices that are being removed (e.g. at
hot-unplug).
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/svc.h')
-rw-r--r-- | drivers/staging/greybus/svc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/svc.h b/drivers/staging/greybus/svc.h index 3acfa07cc73b..ca0f71d059b1 100644 --- a/drivers/staging/greybus/svc.h +++ b/drivers/staging/greybus/svc.h @@ -19,6 +19,7 @@ enum gb_svc_state { struct gb_svc { struct device dev; + struct gb_host_device *hd; struct gb_connection *connection; enum gb_svc_state state; struct ida device_id_map; |