mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
camera: fix mt9t111.c include mt9p111.h
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#include <media/v4l2-chip-ident.h>
|
||||
#include <media/soc_camera.h>
|
||||
#include <mach/rk29_camera.h>
|
||||
#include "mt9p111.h"
|
||||
#include "mt9t111.h"
|
||||
|
||||
static int debug;
|
||||
module_param(debug, int, S_IRUGO|S_IWUSR);
|
||||
|
||||
33
drivers/media/video/mt9t111.h
Executable file
33
drivers/media/video/mt9t111.h
Executable file
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Driver for MT9T111 CMOS Image Sensor from Aptina
|
||||
*
|
||||
* Copyright (C) 2008, Guennadi Liakhovetski <kernel@pengutronix.de>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef __MT9T111_H__
|
||||
#define __MT9T111_H__
|
||||
struct reginfo
|
||||
{
|
||||
u16 reg;
|
||||
u16 val;
|
||||
u16 reg_len;
|
||||
u16 rev;
|
||||
};
|
||||
|
||||
#define WORD_LEN 0x04
|
||||
#define BYTE_LEN 0x02
|
||||
|
||||
#define SEQUENCE_INIT 0x00
|
||||
#define SEQUENCE_NORMAL 0x01
|
||||
#define SEQUENCE_CAPTURE 0x02
|
||||
#define SEQUENCE_PREVIEW 0x03
|
||||
|
||||
#define SEQUENCE_PROPERTY 0xFFFC
|
||||
#define SEQUENCE_WAIT_MS 0xFFFD
|
||||
#define SEQUENCE_WAIT_US 0xFFFE
|
||||
#define SEQUENCE_END 0xFFFF
|
||||
#endif
|
||||
Reference in New Issue
Block a user