mvebu-pmsu.h 520 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (C) 2012 Marvell
  3. *
  4. * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  5. *
  6. * This file is licensed under the terms of the GNU General Public
  7. * License version 2. This program is licensed "as is" without any
  8. * warranty of any kind, whether express or implied.
  9. */
  10. #ifndef __MVEBU_PMSU_H__
  11. #define __MVEBU_PMSU_H__
  12. #ifdef CONFIG_MACH_MVEBU_V7
  13. int mvebu_pmsu_dfs_request(int cpu);
  14. #else
  15. static inline int mvebu_pmsu_dfs_request(int cpu) { return -ENODEV; }
  16. #endif
  17. #endif /* __MVEBU_PMSU_H__ */