mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-20 05:43:09 +00:00
extcon: standard cable names definition and declaration changed
With this change now individual drivers can use standard cable names as below: static const char *arizona_cable[] = { extcon_cable_name[EXTCON_USB], extcon_cable_name[EXTCON_USB_HOST], "CUSTOM_CABLE" NULL, } Signed-off-by: anish kumar <anish198519851985@gmail.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
This commit is contained in:
parent
3cafbd4e50
commit
0cf6ad8a18
2 changed files with 2 additions and 4 deletions
|
@ -68,7 +68,7 @@ enum extcon_cable_name {
|
|||
EXTCON_VIDEO_OUT,
|
||||
EXTCON_MECHANICAL,
|
||||
};
|
||||
extern const char *extcon_cable_name[];
|
||||
extern const char extcon_cable_name[][CABLE_NAME_MAX + 1];
|
||||
|
||||
struct extcon_cable;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue