summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/module.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/module.h
parent7bc6faaca7d829d4e6f5d65909d5068f73b76bda (diff)
downloadop-kernel-dev-2537636abae5b81a1de5ad7511a29306f39b2167.zip
op-kernel-dev-2537636abae5b81a1de5ad7511a29306f39b2167.tar.gz
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/module.h')
-rw-r--r--drivers/staging/greybus/module.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/module.h b/drivers/staging/greybus/module.h
index 3b3f421..2b36fe9 100644
--- a/drivers/staging/greybus/module.h
+++ b/drivers/staging/greybus/module.h
@@ -16,10 +16,10 @@ struct gb_module {
};
#define to_gb_module(d) container_of(d, struct gb_module, dev)
-struct greybus_host_device;
+struct gb_host_device;
/* Greybus "private" definitions */
-struct gb_module *gb_module_find(struct greybus_host_device *hd, u8 module_id);
+struct gb_module *gb_module_find(struct gb_host_device *hd, u8 module_id);
struct gb_module *gb_module_create(struct device *parent, u8 module_id);
void gb_module_remove_all(struct gb_endo *endo);
OpenPOWER on IntegriCloud