greybus: add a connection->private field
authorAlex Elder <elder@linaro.org>
Fri, 3 Oct 2014 20:05:21 +0000 (15:05 -0500)
committerGreg Kroah-Hartman <greg@kroah.com>
Sat, 4 Oct 2014 02:02:22 +0000 (19:02 -0700)
This will be used for driver-specific data for whatever drives the
other end of the connection.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/connection.h

index 15bdc81..f2588a7 100644 (file)
@@ -25,6 +25,8 @@ struct gb_connection {
 
        struct list_head                operations;
        atomic_t                        op_cycle;
+
+       void                            *private;
 };
 
 struct gb_connection *gb_connection_create(struct gb_interface *interface,