generic.h 766 B

1234567891011121314151617181920212223242526
  1. /*
  2. * linux/arch/arm/mach-at91/generic.h
  3. *
  4. * Copyright (C) 2005 David Brownell
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #ifndef _AT91_GENERIC_H
  11. #define _AT91_GENERIC_H
  12. #ifdef CONFIG_PM
  13. extern void __init at91rm9200_pm_init(void);
  14. extern void __init at91sam9_pm_init(void);
  15. extern void __init sama5_pm_init(void);
  16. extern void __init sama5d2_pm_init(void);
  17. #else
  18. static inline void __init at91rm9200_pm_init(void) { }
  19. static inline void __init at91sam9_pm_init(void) { }
  20. static inline void __init sama5_pm_init(void) { }
  21. static inline void __init sama5d2_pm_init(void) { }
  22. #endif
  23. #endif /* _AT91_GENERIC_H */