msm: mdss: fix MDP3 compilation
Add missing header file, remove unused header file and structure element mdp3_img_data. Change-Id: I6a12a65f3ccb622927c3b69d599856299e7b8e65 Signed-off-by: Sachin Bhayare <sachin.bhayare@codeaurora.org>
This commit is contained in:
parent
5bcd9e74b2
commit
92650b303e
3 changed files with 9 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
|
/* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
|
||||||
* Copyright (C) 2007 Google Incorporated
|
* Copyright (C) 2007 Google Incorporated
|
||||||
*
|
*
|
||||||
* This software is licensed under the terms of the GNU General Public
|
* This software is licensed under the terms of the GNU General Public
|
||||||
|
@ -40,13 +40,10 @@
|
||||||
#include <linux/clk/msm-clk.h>
|
#include <linux/clk/msm-clk.h>
|
||||||
#include <linux/regulator/rpm-smd-regulator.h>
|
#include <linux/regulator/rpm-smd-regulator.h>
|
||||||
|
|
||||||
#include <mach/board.h>
|
|
||||||
#include <mach/hardware.h>
|
|
||||||
#include <linux/msm-bus.h>
|
#include <linux/msm-bus.h>
|
||||||
#include <linux/msm-bus-board.h>
|
#include <linux/msm-bus-board.h>
|
||||||
#include <linux/qcom_iommu.h>
|
#include <linux/qcom_iommu.h>
|
||||||
#include <linux/msm_iommu_domains.h>
|
#include <linux/msm_iommu_domains.h>
|
||||||
#include <mach/msm_memtypes.h>
|
|
||||||
|
|
||||||
#include "mdp3.h"
|
#include "mdp3.h"
|
||||||
#include "mdss_fb.h"
|
#include "mdss_fb.h"
|
||||||
|
@ -55,6 +52,10 @@
|
||||||
#include "mdp3_ppp.h"
|
#include "mdp3_ppp.h"
|
||||||
#include "mdss_debug.h"
|
#include "mdss_debug.h"
|
||||||
|
|
||||||
|
#ifndef EXPORT_COMPAT
|
||||||
|
#define EXPORT_COMPAT(x)
|
||||||
|
#endif
|
||||||
|
|
||||||
#define MISR_POLL_SLEEP 2000
|
#define MISR_POLL_SLEEP 2000
|
||||||
#define MISR_POLL_TIMEOUT 32000
|
#define MISR_POLL_TIMEOUT 32000
|
||||||
#define MDP3_REG_CAPTURED_DSI_PCLK_MASK 1
|
#define MDP3_REG_CAPTURED_DSI_PCLK_MASK 1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
|
/* Copyright (c) 2013-2014, 2016, The Linux Foundation. All rights reserved.
|
||||||
* Copyright (C) 2007 Google Incorporated
|
* Copyright (C) 2007 Google Incorporated
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -166,6 +166,7 @@ struct mdp3_img_data {
|
||||||
int p_need;
|
int p_need;
|
||||||
struct file *srcp_file;
|
struct file *srcp_file;
|
||||||
struct ion_handle *srcp_ihdl;
|
struct ion_handle *srcp_ihdl;
|
||||||
|
struct fd srcp_f;
|
||||||
};
|
};
|
||||||
|
|
||||||
extern struct mdp3_hw_resource *mdp3_res;
|
extern struct mdp3_hw_resource *mdp3_res;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
|
/* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License version 2 and
|
* it under the terms of the GNU General Public License version 2 and
|
||||||
|
@ -22,6 +22,7 @@
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
#include <linux/dma-buf.h>
|
#include <linux/dma-buf.h>
|
||||||
|
|
||||||
|
#include "mdss_dsi_clk.h"
|
||||||
#include "mdp3_ctrl.h"
|
#include "mdp3_ctrl.h"
|
||||||
#include "mdp3.h"
|
#include "mdp3.h"
|
||||||
#include "mdp3_ppp.h"
|
#include "mdp3_ppp.h"
|
||||||
|
|
Loading…
Add table
Reference in a new issue