mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-21 01:18:52 +09:00
![Jean-Jacques Hiblot](/assets/img/avatar_default.png)
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 */
|