| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * include/linux/clkdev.h |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * 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. |
|---|
| 9 | 6 | * |
|---|
| 10 | 7 | * Helper for the clk API to assist looking up a struct clk. |
|---|
| 11 | 8 | */ |
|---|
| .. | .. |
|---|
| 52 | 49 | int clk_register_clkdev(struct clk *, const char *, const char *); |
|---|
| 53 | 50 | int clk_hw_register_clkdev(struct clk_hw *, const char *, const char *); |
|---|
| 54 | 51 | |
|---|
| 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); |
|---|
| 55 | 56 | #endif |
|---|