summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/module.h
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2014-10-20 15:27:58 (GMT)
committerGreg Kroah-Hartman <greg@kroah.com>2014-10-20 22:28:23 (GMT)
commit6ff5e00a176878c218c2b27e4437e6af8f46a28c (patch)
tree018c52d66d81b7b10755e2a587199ce37f88264e /drivers/staging/greybus/module.h
parent09c521dc0a98141ae3c1b431c967d90d46c372e8 (diff)
downloadlinux-6ff5e00a176878c218c2b27e4437e6af8f46a28c.tar.xz
greybus: remove cports and strings from gb_module
We no longer keep copies of strings found in the manifuest in a module's strings array, so we can get rid of the strings array. Similarly, the new manifest parsing code sets up connections for each cport id advertised for a module, so the cport array is no longer needed either. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'drivers/staging/greybus/module.h')
-rw-r--r--drivers/staging/greybus/module.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/greybus/module.h b/drivers/staging/greybus/module.h
index e32135f..2c6707d 100644
--- a/drivers/staging/greybus/module.h
+++ b/drivers/staging/greybus/module.h
@@ -28,11 +28,6 @@ struct gb_module {
char *product_string;
u64 unique_id;
- int num_cports;
- int num_strings;
- u16 cport_ids[MAX_CPORTS_PER_MODULE];
- struct gmod_string *string[MAX_STRINGS_PER_MODULE];
-
struct greybus_host_device *hd;
struct gb_tty *gb_tty;