Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 114a282b authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "BACKPORT: extcon: Mark extcon_get_edev_name() function as exported symbol"

parents a67feb3b f98cbcb4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)
{
+5 −0
Original line number Diff line number Diff line
@@ -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 */

/*