clk-conf.h 562 B

1234567891011121314151617181920
  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. struct device_node;
  10. #if defined(CONFIG_OF) && defined(CONFIG_COMMON_CLK)
  11. int of_clk_set_defaults(struct device_node *node, bool clk_supplier);
  12. #else
  13. static inline int of_clk_set_defaults(struct device_node *node,
  14. bool clk_supplier)
  15. {
  16. return 0;
  17. }
  18. #endif