Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / include / linux / clk / clk-conf.h
blobeae9652c70cd25bb244f38c5ab8b448c6f9cf8c9
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) 2014 Samsung Electronics Co., Ltd.
4 * Sylwester Nawrocki <s.nawrocki@samsung.com>
5 */
7 #ifndef __CLK_CONF_H
8 #define __CLK_CONF_H
10 #include <linux/types.h>
12 struct device_node;
14 #if defined(CONFIG_OF) && defined(CONFIG_COMMON_CLK)
15 int of_clk_set_defaults(struct device_node *node, bool clk_supplier);
16 #else
17 static inline int of_clk_set_defaults(struct device_node *node,
18 bool clk_supplier)
20 return 0;
22 #endif
24 #endif /* __CLK_CONF_H */