summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/interface.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2015-11-25 15:59:04 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2015-11-25 15:27:06 -0800
commit8b0df4b2eaf2f741ae44e8f5bad4ecb223f87932 (patch)
treed41ab2630f80140f4ddbed6cd33cc7988347d1a7 /drivers/staging/greybus/interface.h
parent582b3a13920c71ca6e546598d344dc6027168e64 (diff)
downloadlinux-8b0df4b2eaf2f741ae44e8f5bad4ecb223f87932.tar.bz2
greybus: interface: make interfaces children of host devices
Make interfaces child devices of host devices. The new interface device name is "<bus_id>-<intf_id>", where bus_id is the dynamically allocated bus id for the host device and intf_id is the svc-allocated interface id. Signed-off-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, 0 insertions, 1 deletions
diff --git a/drivers/staging/greybus/interface.h b/drivers/staging/greybus/interface.h
index 71493cd96ec7..1202062a70eb 100644
--- a/drivers/staging/greybus/interface.h
+++ b/drivers/staging/greybus/interface.h
@@ -31,7 +31,6 @@ struct gb_interface {
u32 vendor_id;
u32 product_id;
- struct gb_module *module;
struct gb_host_device *hd;
/* The interface needs to boot over unipro */