Sylwester Nawrocki | 86be408 | 2014-06-18 17:29:32 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2014 Samsung Electronics Co., Ltd. |
| 3 | * Sylwester Nawrocki <s.nawrocki@samsung.com> |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License version 2 as |
| 7 | * published by the Free Software Foundation. |
| 8 | */ |
| 9 | |
Chen-Yu Tsai | a8cfe8c | 2015-08-18 15:16:45 +0800 | [diff] [blame] | 10 | #include <linux/types.h> |
| 11 | |
Sylwester Nawrocki | 86be408 | 2014-06-18 17:29:32 +0200 | [diff] [blame] | 12 | struct device_node; |
| 13 | |
| 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) |
| 19 | { |
| 20 | return 0; |
| 21 | } |
| 22 | #endif |