Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / include / linux / clk / clk-conf.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2014 Samsung Electronics Co., Ltd.
4  * Sylwester Nawrocki <s.nawrocki@samsung.com>
5  */
6
7 #include <linux/types.h>
8
9 struct device_node;
10
11 #if defined(CONFIG_OF) && defined(CONFIG_COMMON_CLK)
12 int of_clk_set_defaults(struct device_node *node, bool clk_supplier);
13 #else
14 static inline int of_clk_set_defaults(struct device_node *node,
15                                       bool clk_supplier)
16 {
17         return 0;
18 }
19 #endif