mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
![Masahiro Yamada](/assets/img/avatar_default.png)
Add a header include guard just in case. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Link: https://lkml.kernel.org/r/20190820030536.1181-1-yamada.masahiro@socionext.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
24 lines
507 B
C
24 lines
507 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2014 Samsung Electronics Co., Ltd.
|
|
* Sylwester Nawrocki <s.nawrocki@samsung.com>
|
|
*/
|
|
|
|
#ifndef __CLK_CONF_H
|
|
#define __CLK_CONF_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
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
|
|
|
|
#endif /* __CLK_CONF_H */
|