summaryrefslogtreecommitdiff
path: root/linux/include
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-10-17 09:24:24 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-17 09:24:24 -0300
commit55478ad148cbf89cd3d99872759960c8411ada6d (patch)
treec373940b8c3fce70457f6e12e1feaa2330472db7 /linux/include
parent2f1835af8f95aeed8b722b47fcb6a70651f6e1a2 (diff)
parentfc0873bc5a230ed74a66d4b1caa99ec3fe9aefa1 (diff)
downloadmediapointer-dvb-s2-55478ad148cbf89cd3d99872759960c8411ada6d.tar.gz
mediapointer-dvb-s2-55478ad148cbf89cd3d99872759960c8411ada6d.tar.bz2
merge: http://linuxtv.org/hg/~gliakhovetski/v4l-dvb
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/include')
-rw-r--r--linux/include/media/soc_camera_platform.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/linux/include/media/soc_camera_platform.h b/linux/include/media/soc_camera_platform.h
index 851f18220..1d092b467 100644
--- a/linux/include/media/soc_camera_platform.h
+++ b/linux/include/media/soc_camera_platform.h
@@ -1,3 +1,13 @@
+/*
+ * Generic Platform Camera Driver Header
+ *
+ * Copyright (C) 2008 Magnus Damm
+ *
+ * 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 __SOC_CAMERA_H__
#define __SOC_CAMERA_H__
@@ -9,6 +19,7 @@ struct soc_camera_platform_info {
unsigned long format_depth;
struct v4l2_pix_format format;
unsigned long bus_param;
+ void (*power)(int);
int (*set_capture)(struct soc_camera_platform_info *info, int enable);
};