mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
Merge "BACKPORT: extcon: Mark extcon_get_edev_name() function as exported symbol"
This commit is contained in:
commit
114a282b28
2 changed files with 6 additions and 0 deletions
|
|
@ -1406,6 +1406,7 @@ const char *extcon_get_edev_name(struct extcon_dev *edev)
|
|||
{
|
||||
return !edev ? NULL : edev->name;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(extcon_get_edev_name);
|
||||
|
||||
static int __init extcon_class_init(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -286,6 +286,11 @@ static inline struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev,
|
|||
{
|
||||
return ERR_PTR(-ENODEV);
|
||||
}
|
||||
|
||||
static inline const char *extcon_get_edev_name(struct extcon_dev *edev)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
#endif /* CONFIG_EXTCON */
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue