disp: msm: dp: use the new altmode framework
Use the new altmode framework to receive the connect, disconnect and attention events. Change-Id: Ic542525b526e1abd0f153c293bca6e4cdbb6bf0b Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
This commit is contained in:
22
msm/dp/dp_altmode.h
Normal file
22
msm/dp/dp_altmode.h
Normal file
@@ -0,0 +1,22 @@
|
||||
/* 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_ */
|
||||
|
Reference in New Issue
Block a user