summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/hd.h
diff options
context:
space:
mode:
authorJohan Hovold2015-11-03 18:03:25 +0100
committerGreg Kroah-Hartman2015-11-05 05:25:57 +0100
commitd6e139bc15118ceb9173ee03e3f2db63b57e0f77 (patch)
tree5edb00e7ccbc6cfbf0f4ff98cbc397b0ca712bc9 /drivers/staging/greybus/hd.h
parentgreybus: hd: rename host-driver structure (diff)
downloadkernel-qcow2-linux-d6e139bc15118ceb9173ee03e3f2db63b57e0f77.tar.gz
kernel-qcow2-linux-d6e139bc15118ceb9173ee03e3f2db63b57e0f77.tar.xz
kernel-qcow2-linux-d6e139bc15118ceb9173ee03e3f2db63b57e0f77.zip
greybus: hd: use common prefix for exported functions
Rename the exported functions using the common gb_-prefix. 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/hd.h')
-rw-r--r--drivers/staging/greybus/hd.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/greybus/hd.h b/drivers/staging/greybus/hd.h
index 7aea0c54338d..91fcccb46df1 100644
--- a/drivers/staging/greybus/hd.h
+++ b/drivers/staging/greybus/hd.h
@@ -48,10 +48,10 @@ struct gb_host_device {
unsigned long hd_priv[0] __aligned(sizeof(s64));
};
-struct gb_host_device *greybus_create_hd(struct gb_hd_driver *driver,
- struct device *parent,
- size_t buffer_size_max,
- size_t num_cports);
-void greybus_remove_hd(struct gb_host_device *hd);
+struct gb_host_device *gb_hd_create(struct gb_hd_driver *driver,
+ struct device *parent,
+ size_t buffer_size_max,
+ size_t num_cports);
+void gb_hd_remove(struct gb_host_device *hd);
#endif /* __HD_H */