staging: typec: fusb302: make structure fusb302_psy_desc static
authorColin Ian King <colin.king@canonical.com>
Fri, 1 Sep 2017 10:20:57 +0000 (11:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Sep 2017 17:06:44 +0000 (19:06 +0200)
commit9ea859b11b251df57df5bb9fc146ac014b31071c
tree7d04288a0c16147b577812f476347431fcd4f1c0
parentbc05a9c8774bca5ca95518a0ab3a335e45dcc26b
staging: typec: fusb302: make structure fusb302_psy_desc static

The const structure fusb302_psy_desc is local to the source and
does not need to be in global scope, so make it static.

Cleans up sparse warnings
symbol 'fusb302_psy_desc' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/typec/fusb302/fusb302.c