pm.c 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* linux/arch/arm/plat-s5p/pm.c
  2. *
  3. * Copyright (c) 2010 Samsung Electronics Co., Ltd.
  4. * http://www.samsung.com
  5. *
  6. * S5P Power Manager (Suspend-To-RAM) support
  7. *
  8. * Based on arch/arm/plat-s3c24xx/pm.c
  9. * Copyright (c) 2004,2006 Simtec Electronics
  10. * Ben Dooks <ben@simtec.co.uk>
  11. *
  12. * This program is free software; you can redistribute it and/or modify
  13. * it under the terms of the GNU General Public License version 2 as
  14. * published by the Free Software Foundation.
  15. */
  16. #include <linux/suspend.h>
  17. #include <plat/pm.h>
  18. #define PFX "s5p pm: "
  19. /* s3c_pm_check_resume_pin
  20. *
  21. * check to see if the pin is configured correctly for sleep mode, and
  22. * make any necessary adjustments if it is not
  23. */
  24. static void s3c_pm_check_resume_pin(unsigned int pin, unsigned int irqoffs)
  25. {
  26. /* nothing here yet */
  27. }
  28. /* s3c_pm_configure_extint
  29. *
  30. * configure all external interrupt pins
  31. */
  32. void s3c_pm_configure_extint(void)
  33. {
  34. /* nothing here yet */
  35. }
  36. void s3c_pm_restore_core(void)
  37. {
  38. /* nothing here yet */
  39. }
  40. void s3c_pm_save_core(void)
  41. {
  42. /* nothing here yet */
  43. }