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 12extern void __init at91rm9200_pm_init(void); 13extern void __init at91sam9_pm_init(void); 14extern void __init sam9x60_pm_init(void); 15extern void __init sama5_pm_init(void); 16extern void __init sama5d2_pm_init(void); 17#else 18static inline void __init at91rm9200_pm_init(void) { } 19static inline void __init at91sam9_pm_init(void) { } 20static inline void __init sam9x60_pm_init(void) { } 21static inline void __init sama5_pm_init(void) { } 22static inline void __init sama5d2_pm_init(void) { } 23#endif 24 25#endif /* _AT91_GENERIC_H */ 26