summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/bundle.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@google.com>2015-10-17 02:54:00 +0300
committerGreg Kroah-Hartman <gregkh@google.com>2015-10-19 22:09:10 +0300
commit6ea462a4fc21b523dc139fdb920524f066633a35 (patch)
treeeaef593e9e5433b2b126dd961f9efa8cdb633f37 /drivers/staging/greybus/bundle.h
parent7e4c8d713539b608a11a38102a203a1a8acd345a (diff)
downloadlinux-6ea462a4fc21b523dc139fdb920524f066633a35.tar.xz
greybus: bundle.h: add a private field to struct gb_bundle
The gb_bundle structure needs a private field if we are going to be able to replace the gb_connection device with this one for all use cases. Ideally we could use the private pointer within the struct device, but for now let's just try to mirror how people were using the gb_connection structure to make the patches simpler, and the logic the same. Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Alex Elder <elder@linaro.org> Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Diffstat (limited to 'drivers/staging/greybus/bundle.h')
-rw-r--r--drivers/staging/greybus/bundle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/bundle.h b/drivers/staging/greybus/bundle.h
index 9134df7930c0..24ddd449034c 100644
--- a/drivers/staging/greybus/bundle.h
+++ b/drivers/staging/greybus/bundle.h
@@ -22,6 +22,7 @@ struct gb_bundle {
u8 *state;
struct list_head links; /* interface->bundles */
+ void *private;
};
#define to_gb_bundle(d) container_of(d, struct gb_bundle, dev)