summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/ov9640.h
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@collabora.com>2021-01-12 20:49:16 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-02-06 09:38:05 +0100
commit8de14b3acb9c7f4bcb8565a036dd579e5b7aaa7a (patch)
tree9eef00fb3f10f8fe38738fc0e53c927682a06864 /drivers/media/i2c/ov9640.h
parent832e6609f790bb7e6185200a31460741d161788f (diff)
media: ov9640: Use the generic clock framework
Commit 63839882c597 ("media: mach-pxa: palmz72/pcm990: remove soc_camera dependencies") removed the last in-tree user of this sensor. New users will be required to use the generic clock framework, so it's possible to convert the driver to use it. Convert the driver to use the CCF, and drop the legacy v4l2-clk API. Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com> Acked-by: Petr Cvek <petrcvekcz@gmail.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/i2c/ov9640.h')
-rw-r--r--drivers/media/i2c/ov9640.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/ov9640.h b/drivers/media/i2c/ov9640.h
index a8ed6992c1a8..c105594b2472 100644
--- a/drivers/media/i2c/ov9640.h
+++ b/drivers/media/i2c/ov9640.h
@@ -196,7 +196,7 @@ struct ov9640_reg {
struct ov9640_priv {
struct v4l2_subdev subdev;
struct v4l2_ctrl_handler hdl;
- struct v4l2_clk *clk;
+ struct clk *clk;
struct gpio_desc *gpio_power;
struct gpio_desc *gpio_reset;