clk-conf.h (507B)
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#ifndef __CLK_CONF_H 8#define __CLK_CONF_H 9 10#include <linux/types.h> 11 12struct device_node; 13 14#if defined(CONFIG_OF) && defined(CONFIG_COMMON_CLK) 15int of_clk_set_defaults(struct device_node *node, bool clk_supplier); 16#else 17static inline int of_clk_set_defaults(struct device_node *node, 18 bool clk_supplier) 19{ 20 return 0; 21} 22#endif 23 24#endif /* __CLK_CONF_H */