diff options
author | Alex Elder <elder@linaro.org> | 2014-10-20 10:27:58 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <greg@kroah.com> | 2014-10-21 06:28:23 +0800 |
commit | 6ff5e00a176878c218c2b27e4437e6af8f46a28c (patch) | |
tree | 018c52d66d81b7b10755e2a587199ce37f88264e /drivers/staging/greybus/module.h | |
parent | 09c521dc0a98141ae3c1b431c967d90d46c372e8 (diff) |
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.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/greybus/module.h b/drivers/staging/greybus/module.h index e32135f3b738..2c6707d6d85f 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; |