Commit | Line | Data |
---|---|---|
73a59c1c | 1 | /* |
9d041268 | 2 | * linux/arch/arm/mach-at91/generic.h |
73a59c1c SP |
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 | ||
1bd59dbe MR |
11 | #ifndef _AT91_GENERIC_H |
12 | #define _AT91_GENERIC_H | |
13 | ||
4db0ba22 | 14 | #ifdef CONFIG_PM |
ad3fc3e3 NF |
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); | |
fbc7edca | 19 | extern void __init sama5_pm_init(void); |
4db0ba22 | 20 | #else |
a91c5824 AB |
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) { } | |
fbc7edca | 25 | static inline void __init sama5_pm_init(void) { } |
4db0ba22 AB |
26 | #endif |
27 | ||
1bd59dbe | 28 | #endif /* _AT91_GENERIC_H */ |