video/drm: edp: fix compile error
Change-Id: Iacf2f895c44689c25cf4ac735b60618f959d2aed Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
This commit is contained in:
parent
6f7b6465e9
commit
532b87c785
|
|
@ -11,6 +11,7 @@
|
||||||
#include <asm/unaligned.h>
|
#include <asm/unaligned.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <dm/device.h>
|
#include <dm/device.h>
|
||||||
|
#include <dm/read.h>
|
||||||
#include <linux/list.h>
|
#include <linux/list.h>
|
||||||
#include <syscon.h>
|
#include <syscon.h>
|
||||||
#include <asm/arch-rockchip/clock.h>
|
#include <asm/arch-rockchip/clock.h>
|
||||||
|
|
@ -841,7 +842,6 @@ static int rockchip_analogix_dp_init(struct display_state *state)
|
||||||
struct connector_state *conn_state = &state->conn_state;
|
struct connector_state *conn_state = &state->conn_state;
|
||||||
const struct rockchip_connector *connector = conn_state->connector;
|
const struct rockchip_connector *connector = conn_state->connector;
|
||||||
const struct rockchip_dp_chip_data *pdata = connector->data;
|
const struct rockchip_dp_chip_data *pdata = connector->data;
|
||||||
int dp_node = conn_state->node;
|
|
||||||
struct analogix_dp_device *dp;
|
struct analogix_dp_device *dp;
|
||||||
struct analogix_dp_plat_data *plat_data;
|
struct analogix_dp_plat_data *plat_data;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
|
||||||
|
|
@ -7,10 +7,6 @@
|
||||||
#ifndef __DRM_ANALOGIX_DP_H__
|
#ifndef __DRM_ANALOGIX_DP_H__
|
||||||
#define __DRM_ANALOGIX_DP_H__
|
#define __DRM_ANALOGIX_DP_H__
|
||||||
|
|
||||||
#define pr_err printf
|
|
||||||
#define pr_info printf
|
|
||||||
#define pr_debug debug
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Unless otherwise noted, all values are from the DP 1.1a spec. Note that
|
* Unless otherwise noted, all values are from the DP 1.1a spec. Note that
|
||||||
* DP and DPCD versions are independent. Differences from 1.0 are not noted,
|
* DP and DPCD versions are independent. Differences from 1.0 are not noted,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue