kirkwood-pm.h 769 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Power Management driver for Marvell Kirkwood SoCs
  3. *
  4. * Copyright (C) 2013 Ezequiel Garcia <ezequiel@free-electrons.com>
  5. * Copyright (C) 2010 Simon Guinot <sguinot@lacie.com>
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License,
  9. * version 2 of the License.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. */
  16. #ifndef __ARCH_KIRKWOOD_PM_H
  17. #define __ARCH_KIRKWOOD_PM_H
  18. #ifdef CONFIG_PM
  19. void kirkwood_pm_init(void);
  20. #else
  21. static inline void kirkwood_pm_init(void) {};
  22. #endif
  23. #endif