Skip to content

Commit

Permalink
[media] marvell-cam: Move cafe-ccic into its own directory
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
Jonathan Corbet authored and Mauro Carvalho Chehab committed Jul 27, 2011
1 parent bd7319d commit f8fc729
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 13 deletions.
11 changes: 2 additions & 9 deletions drivers/media/video/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,8 @@ source "drivers/media/video/cx18/Kconfig"

source "drivers/media/video/saa7164/Kconfig"

source "drivers/media/video/marvell-ccic/Kconfig"

config VIDEO_M32R_AR
tristate "AR devices"
depends on M32R && VIDEO_V4L2
Expand All @@ -726,15 +728,6 @@ config VIDEO_M32R_AR_M64278
To compile this driver as a module, choose M here: the
module will be called arv.

config VIDEO_CAFE_CCIC
tristate "Marvell 88ALP01 (Cafe) CMOS Camera Controller support"
depends on PCI && I2C && VIDEO_V4L2
select VIDEO_OV7670
---help---
This is a video4linux2 driver for the Marvell 88ALP01 integrated
CMOS camera controller. This is the controller found on first-
generation OLPC systems.

config VIDEO_SR030PC30
tristate "SR030PC30 VGA camera sensor support"
depends on I2C && VIDEO_V4L2
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/video/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ obj-$(CONFIG_VIDEO_M32R_AR_M64278) += arv.o

obj-$(CONFIG_VIDEO_CX2341X) += cx2341x.o

obj-$(CONFIG_VIDEO_CAFE_CCIC) += cafe_ccic.o
obj-$(CONFIG_VIDEO_CAFE_CCIC) += marvell-ccic/

obj-$(CONFIG_VIDEO_VIA_CAMERA) += via-camera.o

Expand Down
9 changes: 9 additions & 0 deletions drivers/media/video/marvell-ccic/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
config VIDEO_CAFE_CCIC
tristate "Marvell 88ALP01 (Cafe) CMOS Camera Controller support"
depends on PCI && I2C && VIDEO_V4L2
select VIDEO_OV7670
---help---
This is a video4linux2 driver for the Marvell 88ALP01 integrated
CMOS camera controller. This is the controller found on first-
generation OLPC systems.

1 change: 1 addition & 0 deletions drivers/media/video/marvell-ccic/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
obj-$(CONFIG_VIDEO_CAFE_CCIC) += cafe_ccic.o
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#include <media/v4l2-device.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-chip-ident.h>
#include <media/ov7670.h>
#include <linux/device.h>
#include <linux/wait.h>
#include <linux/list.h>
Expand All @@ -47,7 +48,6 @@
#include <asm/uaccess.h>
#include <asm/io.h>

#include "ov7670.h"
#include "cafe_ccic-regs.h"

#define CAFE_VERSION 0x000002
Expand Down
3 changes: 1 addition & 2 deletions drivers/media/video/ov7670.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
#include <media/v4l2-device.h>
#include <media/v4l2-chip-ident.h>
#include <media/v4l2-mediabus.h>

#include "ov7670.h"
#include <media/ov7670.h>

MODULE_AUTHOR("Jonathan Corbet <[email protected]>");
MODULE_DESCRIPTION("A low-level driver for OmniVision ov7670 sensors");
Expand Down
File renamed without changes.

0 comments on commit f8fc729

Please sign in to comment.