diff options
author | Viresh Kumar | 2015-04-01 17:02:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-04-06 12:07:30 +0200 |
commit | 9f5f30e712430912f4cff65e97dd36f9b3bdbe4e (patch) | |
tree | d7897f0cff367818aa75602ea615b9674375a1d5 /drivers/staging/greybus/bundle.h | |
parent | greybus: drop module descriptors (diff) | |
download | kernel-qcow2-linux-9f5f30e712430912f4cff65e97dd36f9b3bdbe4e.tar.gz kernel-qcow2-linux-9f5f30e712430912f4cff65e97dd36f9b3bdbe4e.tar.xz kernel-qcow2-linux-9f5f30e712430912f4cff65e97dd36f9b3bdbe4e.zip |
greybus: driver corresponds to a bundle, not interface
A Greybus driver will bind to a bundle, not an interface. Lets follow
this rule in code.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/bundle.h')
-rw-r--r-- | drivers/staging/greybus/bundle.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/greybus/bundle.h b/drivers/staging/greybus/bundle.h index 2948098070c4..1fcf5b8f2e53 100644 --- a/drivers/staging/greybus/bundle.h +++ b/drivers/staging/greybus/bundle.h @@ -37,4 +37,8 @@ int gb_bundles_init(struct gb_interface *intf, u8 device_id); struct gb_bundle *gb_bundle_find(struct gb_interface *intf, u8 bundle_id); void gb_bundle_bind_protocols(void); +const struct greybus_bundle_id * + gb_bundle_match_id(struct gb_bundle *bundle, + const struct greybus_bundle_id *id); + #endif /* __BUNDLE_H */ |