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