diff options
author | Stefan Herbrechtsmeier <hbmeier@hni.uni-paderborn.de> | 2008-08-14 17:04:11 +0200 |
---|---|---|
committer | Stefan Herbrechtsmeier <hbmeier@hni.uni-paderborn.de> | 2008-08-14 17:04:11 +0200 |
commit | 6413c9eb617e2eebe283211c0422e46bbd7289bb (patch) | |
tree | 8aeda4e770081e8bdaed0d5618fd7837ce0b094b /linux/include/asm-arm/arch-pxa/camera.h | |
parent | 4da232f764389ccafbe28832bf57aeae316d465f (diff) | |
download | mediapointer-dvb-s2-6413c9eb617e2eebe283211c0422e46bbd7289bb.tar.gz mediapointer-dvb-s2-6413c9eb617e2eebe283211c0422e46bbd7289bb.tar.bz2 |
soc-camera: Move .power and .reset from soc_camera host to sensor driver
Make .power and .reset callbacks per camera instead of per host, also move
their invocation to camera drivers.
Signed-off-by: Stefan Herbrechtsmeier <hbmeier@hni.uni-paderborn.de>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
---
drivers/media/video/mt9m001.c | 33 +++++++++++++++++++++++++--
drivers/media/video/mt9m111.c | 15 ++++++++++++
drivers/media/video/mt9v022.c | 24 +++++++++++++++++++-
drivers/media/video/pxa_camera.c | 24 --------------------
drivers/media/video/sh_mobile_ceu_camera.c | 5 ----
include/asm-arm/arch-pxa/camera.h | 2 -
include/media/sh_mobile_ceu.h | 2 -
include/media/soc_camera.h | 3 ++
8 files changed, 71 insertions(+), 37 deletions(-)
Diffstat (limited to 'linux/include/asm-arm/arch-pxa/camera.h')
-rw-r--r-- | linux/include/asm-arm/arch-pxa/camera.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/linux/include/asm-arm/arch-pxa/camera.h b/linux/include/asm-arm/arch-pxa/camera.h index 39516ced8..31abe6d51 100644 --- a/linux/include/asm-arm/arch-pxa/camera.h +++ b/linux/include/asm-arm/arch-pxa/camera.h @@ -36,8 +36,6 @@ struct pxacamera_platform_data { int (*init)(struct device *); - int (*power)(struct device *, int); - int (*reset)(struct device *, int); unsigned long flags; unsigned long mclk_10khz; |