clk-conf.h 588 B

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