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

Commit c1968e9e authored by Samantha Tran's avatar Samantha Tran Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm/dp: remove the dependency on the usbpd header



This change will decouple usbpd from the DisplayPort and
will allow compilation of the SDE driver without the usbpd header.

Change-Id: I6fae9be779568c845086f8d59514c78a59121309
Signed-off-by: default avatarSamantha Tran <samtran@codeaurora.org>
parent 052d69b8
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
 */

#ifndef _DP_HPD_H_
#define _DP_HPD_H_

#include <linux/usb/usbpd.h>
#include <linux/types.h>
#include <linux/device.h>
#include "dp_parser.h"
@@ -53,7 +52,7 @@ struct dp_hpd_cb {
 */
struct dp_hpd {
	enum dp_hpd_type type;
	enum plug_orientation orientation;
	u32 orientation;
	bool hpd_high;
	bool hpd_irq;
	bool alt_mode_cfg_done;
+2 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
 */

#define pr_fmt(fmt)	"[drm-dp] %s: " fmt, __func__

#include <linux/usb/usbpd.h>
#include <linux/slab.h>
#include <linux/device.h>
#include <linux/delay.h>
+1 −3
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
 */

#ifndef _DP_USBPD_H_
#define _DP_USBPD_H_

#include <linux/usb/usbpd.h>

#include <linux/types.h>
#include <linux/device.h>
#include "dp_hpd.h"