SAN People | 73a59c1 | 2006-01-09 17:05:41 +0000 | [diff] [blame] | 1 | /* |
Andrew Victor | 9d04126 | 2007-02-05 11:42:07 +0100 | [diff] [blame] | 2 | * linux/arch/arm/mach-at91/generic.h |
SAN People | 73a59c1 | 2006-01-09 17:05:41 +0000 | [diff] [blame] | 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 | |
Maxime Ripard | 1bd59db | 2014-07-01 11:33:15 +0200 | [diff] [blame] | 11 | #ifndef _AT91_GENERIC_H |
| 12 | #define _AT91_GENERIC_H |
| 13 | |
Alexandre Belloni | 4db0ba2 | 2015-01-15 15:59:27 +0100 | [diff] [blame] | 14 | #ifdef CONFIG_PM |
Nicolas Ferre | ad3fc3e | 2015-01-27 18:41:33 +0100 | [diff] [blame] | 15 | extern void __init at91rm9200_pm_init(void); |
| 16 | extern void __init at91sam9260_pm_init(void); |
| 17 | extern void __init at91sam9g45_pm_init(void); |
| 18 | extern void __init at91sam9x5_pm_init(void); |
Alexandre Belloni | fbc7edc | 2015-09-30 01:58:40 +0200 | [diff] [blame] | 19 | extern void __init sama5_pm_init(void); |
Alexandre Belloni | 4db0ba2 | 2015-01-15 15:59:27 +0100 | [diff] [blame] | 20 | #else |
Arnd Bergmann | a91c582 | 2015-01-25 14:42:49 +0100 | [diff] [blame] | 21 | static inline void __init at91rm9200_pm_init(void) { } |
| 22 | static inline void __init at91sam9260_pm_init(void) { } |
| 23 | static inline void __init at91sam9g45_pm_init(void) { } |
| 24 | static inline void __init at91sam9x5_pm_init(void) { } |
Alexandre Belloni | fbc7edc | 2015-09-30 01:58:40 +0200 | [diff] [blame] | 25 | static inline void __init sama5_pm_init(void) { } |
Alexandre Belloni | 4db0ba2 | 2015-01-15 15:59:27 +0100 | [diff] [blame] | 26 | #endif |
| 27 | |
Maxime Ripard | 1bd59db | 2014-07-01 11:33:15 +0200 | [diff] [blame] | 28 | #endif /* _AT91_GENERIC_H */ |