video: driver: compilation fixes for host-linux x86_64
Include errno.h explicitly and fix the order of includes Test: compile on Android for arm64 compile off-target on host-linux for x86_64 Change-Id: I77e2469f576369d4dcea672f40413ec21ff7f3f9 Signed-off-by: Praveen Chavan <pchavan@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
9e44398cc5
commit
0144963551
@@ -6,6 +6,7 @@
|
|||||||
#ifndef __MSM_VIDC_DEBUG__
|
#ifndef __MSM_VIDC_DEBUG__
|
||||||
#define __MSM_VIDC_DEBUG__
|
#define __MSM_VIDC_DEBUG__
|
||||||
|
|
||||||
|
#include <linux/errno.h>
|
||||||
#include <linux/debugfs.h>
|
#include <linux/debugfs.h>
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
@@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <linux/hash.h>
|
#include <linux/hash.h>
|
||||||
#include "msm_vidc.h"
|
|
||||||
#include "msm_vidc_core.h"
|
#include "msm_vidc_core.h"
|
||||||
#include "msm_vidc_inst.h"
|
#include "msm_vidc_inst.h"
|
||||||
#include "msm_vdec.h"
|
#include "msm_vdec.h"
|
||||||
@@ -19,6 +18,7 @@
|
|||||||
#include "msm_vidc_power.h"
|
#include "msm_vidc_power.h"
|
||||||
#include "msm_vidc_memory.h"
|
#include "msm_vidc_memory.h"
|
||||||
#include "venus_hfi_response.h"
|
#include "venus_hfi_response.h"
|
||||||
|
#include "msm_vidc.h"
|
||||||
|
|
||||||
#define MSM_VIDC_DRV_NAME "msm_vidc_driver"
|
#define MSM_VIDC_DRV_NAME "msm_vidc_driver"
|
||||||
/* kernel/msm-4.19 */
|
/* kernel/msm-4.19 */
|
||||||
|
@@ -8,10 +8,10 @@
|
|||||||
#include <linux/of.h>
|
#include <linux/of.h>
|
||||||
#include <linux/sort.h>
|
#include <linux/sort.h>
|
||||||
|
|
||||||
|
#include "msm_vidc_debug.h"
|
||||||
#include "msm_vidc_dt.h"
|
#include "msm_vidc_dt.h"
|
||||||
#include "msm_vidc_internal.h"
|
#include "msm_vidc_internal.h"
|
||||||
#include "msm_vidc_core.h"
|
#include "msm_vidc_core.h"
|
||||||
#include "msm_vidc_debug.h"
|
|
||||||
#include "msm_vidc_driver.h"
|
#include "msm_vidc_driver.h"
|
||||||
|
|
||||||
static size_t get_u32_array_num_elements(struct device_node *np,
|
static size_t get_u32_array_num_elements(struct device_node *np,
|
||||||
|
Reference in New Issue
Block a user