staging: typec: tcpm: make function tcpm_get_pwr_opmode
authorColin Ian King <colin.king@canonical.com>
Tue, 22 Aug 2017 16:02:18 +0000 (17:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Aug 2017 01:36:14 +0000 (18:36 -0700)
commit53b70e5c2ed60135e2b6262bd4f95faddc10a00a
tree555502ce4dec1478ce644abe4e5ad655219d964a
parentac985b6cd9340bf5c9550edd86e1f94e48cabb63
staging: typec: tcpm: make function tcpm_get_pwr_opmode

The function pointer tcpm_get_pwr_opmode is local to the source and does
not need to be in global scope, so make it static.

Cleans up sparse warning:
symbol 'tcpm_get_pwr_opmode' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/typec/tcpm.c