blob: 0a4cdcb4985b0061bc6641f59e664c1b94ac7dfc [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/* 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 */