From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/clk/qcom/clk-regmap.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/kernel/drivers/clk/qcom/clk-regmap.h b/kernel/drivers/clk/qcom/clk-regmap.h
index 6cfc1bc..14ec659 100644
--- a/kernel/drivers/clk/qcom/clk-regmap.h
+++ b/kernel/drivers/clk/qcom/clk-regmap.h
@@ -24,7 +24,11 @@
unsigned int enable_mask;
bool enable_is_inverted;
};
-#define to_clk_regmap(_hw) container_of(_hw, struct clk_regmap, hw)
+
+static inline struct clk_regmap *to_clk_regmap(struct clk_hw *hw)
+{
+ return container_of(hw, struct clk_regmap, hw);
+}
int clk_is_enabled_regmap(struct clk_hw *hw);
int clk_enable_regmap(struct clk_hw *hw);
--
Gitblit v1.6.2