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)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:56:00 +0000 (14:56 +0900)
commite3ff76e56c98776137dbf256a51369ee08b3e1aa
tree67021f38a6dc3a9308fd090aab0c8d3ebda99011
parentc67d5ca283bc9ad80ca39be3eada0791c9313238
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