u-boot/drivers/mtd/nand/raw/brcmnand/brcmnand_compat.h
Jean-Jacques Hiblot 52720c536f drivers: clk: Add a managed API to get clocks from the device-tree
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>
2019-10-22 16:14:05 +02:00

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 */