greybus: hd: rename host-device structure
[cascardo/linux.git] / drivers / staging / greybus / connection.h
index 06c7711..6163082 100644 (file)
@@ -22,7 +22,7 @@ enum gb_connection_state {
 };
 
 struct gb_connection {
-       struct greybus_host_device      *hd;
+       struct gb_host_device           *hd;
        struct gb_bundle                *bundle;
        struct kref                     kref;
        u16                             hd_cport_id;
@@ -53,13 +53,13 @@ int svc_update_connection(struct gb_interface *intf,
                          struct gb_connection *connection);
 struct gb_connection *gb_connection_create(struct gb_bundle *bundle,
                                u16 cport_id, u8 protocol_id);
-struct gb_connection *gb_connection_create_range(struct greybus_host_device *hd,
+struct gb_connection *gb_connection_create_range(struct gb_host_device *hd,
                           struct gb_bundle *bundle, struct device *parent,
                           u16 cport_id, u8 protocol_id, u32 ida_start,
                           u32 ida_end);
 void gb_connection_destroy(struct gb_connection *connection);
 
-void greybus_data_rcvd(struct greybus_host_device *hd, u16 cport_id,
+void greybus_data_rcvd(struct gb_host_device *hd, u16 cport_id,
                        u8 *data, size_t length);
 
 int gb_connection_bind_protocol(struct gb_connection *connection);