extcon: Add DP lane number notification

Add DP lane number notification which can be used in the
case that need to know DP lane number.

Change-Id: Iec66cbf6a34ca6c4346fa93f7706f3aff9f6a775
Signed-off-by: Liangliang Lu <luliang@codeaurora.org>
This commit is contained in:
Liangliang Lu 2018-12-24 17:44:12 +08:00
parent bb182284dd
commit 86825eb8d0
2 changed files with 2 additions and 2 deletions

View file

@ -487,7 +487,7 @@ int extcon_sync(struct extcon_dev *edev, unsigned int id)
}
EXPORT_SYMBOL_GPL(extcon_sync);
int extcon_blocking_sync(struct extcon_dev *edev, unsigned int id, bool val)
int extcon_blocking_sync(struct extcon_dev *edev, unsigned int id, u8 val)
{
int index;

View file

@ -247,7 +247,7 @@ extern struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev,
extern const char *extcon_get_edev_name(struct extcon_dev *edev);
extern int extcon_blocking_sync(struct extcon_dev *edev, unsigned int id,
bool val);
u8 val);
#else /* CONFIG_EXTCON */
static inline int extcon_get_state(struct extcon_dev *edev, unsigned int id)
{