Commit 2f30d9ff authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

greybus: manifest: some minor sparse warning fixups.

parent 322543a3
...@@ -176,7 +176,7 @@ static char *gb_string_get(u8 string_id) ...@@ -176,7 +176,7 @@ static char *gb_string_get(u8 string_id)
* for the functions that use them. Returns the number of interfaces * for the functions that use them. Returns the number of interfaces
* set up for the given module, or 0 if there is an error. * set up for the given module, or 0 if there is an error.
*/ */
u32 gb_manifest_parse_cports(struct gb_interface *interface) static u32 gb_manifest_parse_cports(struct gb_interface *interface)
{ {
u32 count = 0; u32 count = 0;
...@@ -259,7 +259,7 @@ static u32 gb_manifest_parse_interfaces(struct gb_module *gmod) ...@@ -259,7 +259,7 @@ static u32 gb_manifest_parse_interfaces(struct gb_module *gmod)
return count; return count;
} }
struct gb_module *gb_manifest_parse_module(struct manifest_desc *module_desc) static struct gb_module *gb_manifest_parse_module(struct manifest_desc *module_desc)
{ {
struct greybus_descriptor *desc = module_desc->data; struct greybus_descriptor *desc = module_desc->data;
struct greybus_descriptor_module *desc_module = &desc->module; struct greybus_descriptor_module *desc_module = &desc->module;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment