|
@@ -94,7 +94,9 @@ struct fimc_sensor_info {
|
|
|
};
|
|
|
|
|
|
struct cam_clk {
|
|
|
+#ifdef CONFIG_COMMON_CLK
|
|
|
struct clk_hw hw;
|
|
|
+#endif
|
|
|
struct fimc_md *fmd;
|
|
|
};
|
|
|
#define to_cam_clk(_hw) container_of(_hw, struct cam_clk, hw)
|
|
@@ -142,7 +144,9 @@ struct fimc_md {
|
|
|
|
|
|
struct cam_clk_provider {
|
|
|
struct clk *clks[FIMC_MAX_CAMCLKS];
|
|
|
+#ifdef CONFIG_COMMON_CLK
|
|
|
struct clk_onecell_data clk_data;
|
|
|
+#endif
|
|
|
struct device_node *of_node;
|
|
|
struct cam_clk camclk[FIMC_MAX_CAMCLKS];
|
|
|
int num_clocks;
|