extcon: make extcon_info static const, fixes warning
authorColin Ian King <colin.king@canonical.com>
Sat, 9 Sep 2017 16:51:00 +0000 (17:51 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 23 Oct 2017 05:10:25 +0000 (14:10 +0900)
commit5183240cde56e6ab5b78120b041e009cd0c5b345
tree1df0f81b511d4da5f2601564c3a836d85d6d3c7c
parent176aa36012135d172394a928a03fb03dfecd83f9
extcon: make extcon_info static const, fixes warning

The array extcon_info is read only, local to the source and does not
need to be in global scope, so make it static const.

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

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon.c