summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/greybus.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2015-11-03 18:03:23 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2015-11-04 20:25:57 -0800
commit2537636abae5b81a1de5ad7511a29306f39b2167 (patch)
treef10f86957f97fd4e67205fe5339b744c5cd77273 /drivers/staging/greybus/greybus.h
parent7bc6faaca7d829d4e6f5d65909d5068f73b76bda (diff)
greybus: hd: rename host-device structure
Rename host-device structure gb_host_device to match our other structures. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/greybus.h')
-rw-r--r--drivers/staging/greybus/greybus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/greybus.h b/drivers/staging/greybus/greybus.h
index 8eb63e020c2d..1b6f56f9e506 100644
--- a/drivers/staging/greybus/greybus.h
+++ b/drivers/staging/greybus/greybus.h
@@ -129,7 +129,7 @@ static inline int is_gb_bundle(const struct device *dev)
return dev->type == &greybus_bundle_type;
}
-static inline bool cport_id_valid(struct greybus_host_device *hd, u16 cport_id)
+static inline bool cport_id_valid(struct gb_host_device *hd, u16 cport_id)
{
return cport_id != CPORT_ID_BAD && cport_id < hd->num_cports;
}