Update Driver files

This commit is contained in:
dchvs 2021-01-31 14:46:24 -06:00
parent fc4230361f
commit 45bb5ea989
10 changed files with 12 additions and 7 deletions

View File

@ -0,0 +1,10 @@
subdir-ccflags-y += -Werror
obj-$(CONFIG_VIDEO_I2C_SPIRI_CAM) += mt9m021.o
ccflags-$(CONFIG_VIDEO_I2C_SPIRI_CAM) := -I$(srctree.nvidia-spiri)/include/
ccflags-$(CONFIG_VIDEO_I2C_SPIRI_CAM) += -I$(srctree.nvidia-spiri)/include/media/
ccflags-$(CONFIG_VIDEO_I2C_SPIRI_CAM) += -I$(srctree.nvidia-spiri)/drivers/media/i2c/
ccflags-$(CONFIG_VIDEO_I2C_SPIRI_CAM) += -I$(srctree.nvidia)/drivers/media/platform/tegra/camera

View File

@ -32,7 +32,7 @@
#include <media/tegra_v4l2_camera.h>
#include <media/tegracam_core.h>
#include "../platform/tegra/camera/camera_gpio.h"
#include "camera_gpio.h"
#include "mt9m021_mode_tbls.h"
/***************************************************

View File

@ -21,7 +21,7 @@
#ifndef __MT9M021_I2C_TABLES__
#define __MT9M021_I2C_TABLES__
#include <media/camera_common.h>
#include "media/camera_common.h"
#define MT9M021_TABLE_WAIT_MS 0
#define MT9M021_TABLE_END 1

View File

@ -1,5 +0,0 @@
subdir-ccflags-y += -Werror
ccflags-y += -I$(srctree)/drivers/media/platform/tegra
ccflags-y += -I$(srctree)/drivers/video/tegra/camera
obj-$(CONFIG_VIDEO_I2C_SPIRI_CAM) += mt9m021.o