xref: /linux/arch/arm/mach-at91/generic.h (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * linux/arch/arm/mach-at91/generic.h
4  *
5  *  Copyright (C) 2005 David Brownell
6  */
7 
8 #ifndef _AT91_GENERIC_H
9 #define _AT91_GENERIC_H
10 
11 #ifdef CONFIG_PM
12 extern void __init at91rm9200_pm_init(void);
13 extern void __init at91sam9_pm_init(void);
14 extern void __init sam9x60_pm_init(void);
15 extern void __init sam9x7_pm_init(void);
16 extern void __init sama5_pm_init(void);
17 extern void __init sama5d2_pm_init(void);
18 extern void __init sama7_pm_init(void);
19 #else
at91rm9200_pm_init(void)20 static inline void __init at91rm9200_pm_init(void) { }
at91sam9_pm_init(void)21 static inline void __init at91sam9_pm_init(void) { }
sam9x60_pm_init(void)22 static inline void __init sam9x60_pm_init(void) { }
sam9x7_pm_init(void)23 static inline void __init sam9x7_pm_init(void) { }
sama5_pm_init(void)24 static inline void __init sama5_pm_init(void) { }
sama5d2_pm_init(void)25 static inline void __init sama5d2_pm_init(void) { }
sama7_pm_init(void)26 static inline void __init sama7_pm_init(void) { }
27 #endif
28 
29 #endif /* _AT91_GENERIC_H */
30