mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-06 21:24:29 +00:00
52720c536f
Add devm_clk_get(), devm_clk_get_optional() to get clocks from the device-tree. The clocks is automatically released and the data structure freed when the device is unbound. Also add devm_clk_put() to release the clock and free the data structure manually. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
11 lines
242 B
C
11 lines
242 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
#ifndef __BRCMNAND_COMPAT_H
|
|
#define __BRCMNAND_COMPAT_H
|
|
|
|
#include <clk.h>
|
|
#include <dm.h>
|
|
|
|
char *devm_kasprintf(struct udevice *dev, gfp_t gfp, const char *fmt, ...);
|
|
|
|
#endif /* __BRCMNAND_COMPAT_H */
|