b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 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 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 sam9x60_pm_init(void) { } |
| 21 | static inline void __init sama5_pm_init(void) { } |
| 22 | static inline void __init sama5d2_pm_init(void) { } |
| 23 | #endif |
| 24 | |
| 25 | #endif /* _AT91_GENERIC_H */ |