Philippe Reynes | 5aa6cfb | 2019-03-15 15:14:36 +0100 | [diff] [blame^] | 1 | /* 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 | |||||
9 | struct clk *devm_clk_get(struct udevice *dev, const char *id); | ||||
10 | int clk_prepare_enable(struct clk *clk); | ||||
11 | void clk_disable_unprepare(struct clk *clk); | ||||
12 | |||||
13 | char *devm_kasprintf(struct udevice *dev, gfp_t gfp, const char *fmt, ...); | ||||
14 | |||||
15 | #endif /* __BRCMNAND_COMPAT_H */ |