diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-03-11 08:36:07 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-03-11 09:53:08 +0100 |
commit | 90f70a9825919037729c20ab3c5e8b30d08fe9de (patch) | |
tree | 45c87a9b643159940bdf2bb89251a4a6e8c59a0a /include | |
parent | b9658388d7ffdc7f453c03763e91dba98a81dbda (diff) | |
download | barebox-90f70a9825919037729c20ab3c5e8b30d08fe9de.tar.gz barebox-90f70a9825919037729c20ab3c5e8b30d08fe9de.tar.xz |
clk: Make CLK_IGNORE_UNUSED generic
barebox will never disable unused clocks, so add CLK_IGNORE_UNUSED as a
no-op flag. With this we can keep the changes to the imported kernel
code smaller.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/clk.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/clk.h b/include/linux/clk.h index 6081a1af87..5b0a93095d 100644 --- a/include/linux/clk.h +++ b/include/linux/clk.h @@ -285,6 +285,7 @@ static inline void clk_put(struct clk *clk) #include <linux/list.h> #define CLK_SET_RATE_PARENT (1 << 0) /* propagate rate change up one level */ +#define CLK_IGNORE_UNUSED (1 << 3) /* do not gate even if unused */ /* parents need enable during gate/ungate, set rate and re-parent */ #define CLK_OPS_PARENT_ENABLE (1 << 12) |