hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/include/linux/clkdev.h
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * include/linux/clkdev.h
34 *
45 * Copyright (C) 2008 Russell King.
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
96 *
107 * Helper for the clk API to assist looking up a struct clk.
118 */
....@@ -52,4 +49,8 @@
5249 int clk_register_clkdev(struct clk *, const char *, const char *);
5350 int clk_hw_register_clkdev(struct clk_hw *, const char *, const char *);
5451
52
+int devm_clk_hw_register_clkdev(struct device *dev, struct clk_hw *hw,
53
+ const char *con_id, const char *dev_id);
54
+void devm_clk_release_clkdev(struct device *dev, const char *con_id,
55
+ const char *dev_id);
5556 #endif