From: Greg Kroah-Hartman Date: Fri, 16 Oct 2015 23:54:00 +0000 (-0700) Subject: greybus: bundle.h: add a private field to struct gb_bundle X-Git-Tag: v4.14-rc1~2366^2~378^2~21^2~1103 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6ea462a4fc21b523dc139fdb920524f066633a35;p=platform%2Fkernel%2Flinux-rpi.git 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 Reviewed-by: Viresh Kumar Reviewed-by: Alex Elder Reviewed-by: Johan Hovold --- diff --git a/drivers/staging/greybus/bundle.h b/drivers/staging/greybus/bundle.h index 9134df7..24ddd44 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)