Use the new altmode framework to receive the connect, disconnect and attention events. Change-Id: Ic542525b526e1abd0f153c293bca6e4cdbb6bf0b Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
23 rader
420 B
C
23 rader
420 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _DP_ALTMODE_H_
|
|
#define _DP_ALTMODE_H_
|
|
|
|
#include <linux/types.h>
|
|
#include "dp_hpd.h"
|
|
|
|
struct device;
|
|
|
|
struct dp_altmode {
|
|
struct dp_hpd base;
|
|
};
|
|
|
|
struct dp_hpd *dp_altmode_get(struct device *dev, struct dp_hpd_cb *cb);
|
|
|
|
void dp_altmode_put(struct dp_hpd *pd);
|
|
#endif /* _DP_ALTMODE_H_ */
|
|
|