Commit 5183240c authored by Colin Ian King's avatar Colin Ian King Committed by Chanwoo Choi

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: default avatarColin Ian King <>
Signed-off-by: default avatarChanwoo Choi <>
parent 176aa360
......@@ -36,7 +36,7 @@
struct __extcon_info {
static const struct __extcon_info {
unsigned int type;
unsigned int id;
const char *name;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment