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:
parent
bb182284dd
commit
86825eb8d0
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue