mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
f8fc729870
This driver will soon become a family of drivers, so let's give it its own place to live. This move requires putting ov7670.h into include/media, but there are no code changes. Cc: Daniel Drake <dsd@laptop.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
21 lines
476 B
C
21 lines
476 B
C
/*
|
|
* A V4L2 driver for OmniVision OV7670 cameras.
|
|
*
|
|
* Copyright 2010 One Laptop Per Child
|
|
*
|
|
* This file may be distributed under the terms of the GNU General
|
|
* Public License, version 2.
|
|
*/
|
|
|
|
#ifndef __OV7670_H
|
|
#define __OV7670_H
|
|
|
|
struct ov7670_config {
|
|
int min_width; /* Filter out smaller sizes */
|
|
int min_height; /* Filter out smaller sizes */
|
|
int clock_speed; /* External clock speed (MHz) */
|
|
bool use_smbus; /* Use smbus I/O instead of I2C */
|
|
};
|
|
|
|
#endif
|