2018-12-11 17:43:03 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2014-06-18 15:29:32 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2014 Samsung Electronics Co., Ltd.
|
|
|
|
* Sylwester Nawrocki <s.nawrocki@samsung.com>
|
|
|
|
*/
|
|
|
|
|
2019-08-20 03:05:36 +00:00
|
|
|
#ifndef __CLK_CONF_H
|
|
|
|
#define __CLK_CONF_H
|
|
|
|
|
2015-08-18 07:16:45 +00:00
|
|
|
#include <linux/types.h>
|
|
|
|
|
2014-06-18 15:29:32 +00:00
|
|
|
struct device_node;
|
|
|
|
|
|
|
|
#if defined(CONFIG_OF) && defined(CONFIG_COMMON_CLK)
|
|
|
|
int of_clk_set_defaults(struct device_node *node, bool clk_supplier);
|
|
|
|
#else
|
|
|
|
static inline int of_clk_set_defaults(struct device_node *node,
|
|
|
|
bool clk_supplier)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
#endif
|
2019-08-20 03:05:36 +00:00
|
|
|
|
|
|
|
#endif /* __CLK_CONF_H */
|