blob: 02cab0f828c5abe62ec871253cc32d25418c6661 [file] [log] [blame]
Philippe Reynes5aa6cfb2019-03-15 15:14:36 +01001/* SPDX-License-Identifier: GPL-2.0+ */
2
3#ifndef __BRCMNAND_COMPAT_H
4#define __BRCMNAND_COMPAT_H
5
6#include <clk.h>
7#include <dm.h>
8
9struct clk *devm_clk_get(struct udevice *dev, const char *id);
10int clk_prepare_enable(struct clk *clk);
11void clk_disable_unprepare(struct clk *clk);
12
13char *devm_kasprintf(struct udevice *dev, gfp_t gfp, const char *fmt, ...);
14
15#endif /* __BRCMNAND_COMPAT_H */