From 2f30d9ffeee15fb655f1f5e288e69e46a3059b39 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 2 Oct 2014 21:26:26 -0700 Subject: [PATCH] greybus: manifest: some minor sparse warning fixups. --- drivers/staging/greybus/manifest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/greybus/manifest.c b/drivers/staging/greybus/manifest.c index a694c886b9ea..ad7922aba32d 100644 --- a/drivers/staging/greybus/manifest.c +++ b/drivers/staging/greybus/manifest.c @@ -176,7 +176,7 @@ static char *gb_string_get(u8 string_id) * for the functions that use them. Returns the number of interfaces * 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; @@ -259,7 +259,7 @@ static u32 gb_manifest_parse_interfaces(struct gb_module *gmod) 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_module *desc_module = &desc->module; -- 2.20.1