cpufreq-dt.h 566 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (C) 2016 Linaro
  3. * Viresh Kumar <viresh.kumar@linaro.org>
  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. #ifndef __CPUFREQ_DT_H__
  10. #define __CPUFREQ_DT_H__
  11. #include <linux/types.h>
  12. struct cpufreq_policy;
  13. struct cpufreq_dt_platform_data {
  14. bool have_governor_per_policy;
  15. int (*suspend)(struct cpufreq_policy *policy);
  16. int (*resume)(struct cpufreq_policy *policy);
  17. };
  18. #endif /* __CPUFREQ_DT_H__ */