diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2015-11-25 15:59:09 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-11-25 15:30:03 -0800 |
commit | 66069fb06ce42c1deca543d0620a69508b92ec31 (patch) | |
tree | 4e3bf880fcbc4050f6ce858d55687437becd58db /drivers/staging/greybus/svc.h | |
parent | 88f7b96da75f816ba022190d6076720562cac050 (diff) |
greybus: svc: move endo id and ap interface id to svc
Move endo_id and AP interface id to the svc device.
The endo abstraction is about to be removed, and these attributes are
arguable attributes of the svc anyway.
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/greybus/svc.h b/drivers/staging/greybus/svc.h index c9d8866f8f29..e05785f499f4 100644 --- a/drivers/staging/greybus/svc.h +++ b/drivers/staging/greybus/svc.h @@ -22,6 +22,9 @@ struct gb_svc { struct gb_connection *connection; enum gb_svc_state state; struct ida device_id_map; + + u16 endo_id; + u8 ap_intf_id; }; #define to_gb_svc(d) container_of(d, struct gb_svc, d) |