mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-29 16:10:24 +09: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>
12 lines
242 B
C
12 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 */
|