From f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Wed, 31 Jan 2024 01:04:47 +0000 Subject: [PATCH] add driver 5G --- kernel/include/linux/clkdev.h | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/kernel/include/linux/clkdev.h b/kernel/include/linux/clkdev.h index 4890ff0..fd06b27 100644 --- a/kernel/include/linux/clkdev.h +++ b/kernel/include/linux/clkdev.h @@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * include/linux/clkdev.h * * Copyright (C) 2008 Russell King. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. * * Helper for the clk API to assist looking up a struct clk. */ @@ -52,4 +49,8 @@ int clk_register_clkdev(struct clk *, const char *, const char *); int clk_hw_register_clkdev(struct clk_hw *, const char *, const char *); +int devm_clk_hw_register_clkdev(struct device *dev, struct clk_hw *hw, + const char *con_id, const char *dev_id); +void devm_clk_release_clkdev(struct device *dev, const char *con_id, + const char *dev_id); #endif -- Gitblit v1.6.2