From: Greg Kroah-Hartman Date: Fri, 3 Oct 2014 04:26:26 +0000 (-0700) Subject: greybus: manifest: some minor sparse warning fixups. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2f30d9ffeee15fb655f1f5e288e69e46a3059b39;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git greybus: manifest: some minor sparse warning fixups. --- 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;