Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/arch/arm/mach-at91/generic.h
29266 views
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
20
static inline void __init at91rm9200_pm_init(void) { }
21
static inline void __init at91sam9_pm_init(void) { }
22
static inline void __init sam9x60_pm_init(void) { }
23
static inline void __init sam9x7_pm_init(void) { }
24
static inline void __init sama5_pm_init(void) { }
25
static inline void __init sama5d2_pm_init(void) { }
26
static inline void __init sama7_pm_init(void) { }
27
#endif
28
29
#endif /* _AT91_GENERIC_H */
30
31