mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
This commit is contained in:
parent
176aa36012
commit
5183240cde
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
#define SUPPORTED_CABLE_MAX 32
|
||||
|
||||
struct __extcon_info {
|
||||
static const struct __extcon_info {
|
||||
unsigned int type;
|
||||
unsigned int id;
|
||||
const char *name;
|
||||
|
|
|
|||
Loading…
Reference in a new issue