Linux Audio

Check our new training course

Loading...
v6.13.7
 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 sam9x7_pm_init(void);
16extern void __init sama5_pm_init(void);
17extern void __init sama5d2_pm_init(void);
18extern void __init sama7_pm_init(void);
19#else
20static inline void __init at91rm9200_pm_init(void) { }
21static inline void __init at91sam9_pm_init(void) { }
22static inline void __init sam9x60_pm_init(void) { }
23static inline void __init sam9x7_pm_init(void) { }
24static inline void __init sama5_pm_init(void) { }
25static inline void __init sama5d2_pm_init(void) { }
26static inline void __init sama7_pm_init(void) { }
27#endif
28
29#endif /* _AT91_GENERIC_H */
v4.10.11
 
 1/*
 2 * linux/arch/arm/mach-at91/generic.h
 3 *
 4 *  Copyright (C) 2005 David Brownell
 5 *
 6 * This program is free software; you can redistribute it and/or modify
 7 * it under the terms of the GNU General Public License version 2 as
 8 * published by the Free Software Foundation.
 9 */
10
11#ifndef _AT91_GENERIC_H
12#define _AT91_GENERIC_H
13
14#ifdef CONFIG_PM
15extern void __init at91rm9200_pm_init(void);
16extern void __init at91sam9260_pm_init(void);
17extern void __init at91sam9g45_pm_init(void);
18extern void __init at91sam9x5_pm_init(void);
19extern void __init sama5_pm_init(void);
 
 
20#else
21static inline void __init at91rm9200_pm_init(void) { }
22static inline void __init at91sam9260_pm_init(void) { }
23static inline void __init at91sam9g45_pm_init(void) { }
24static inline void __init at91sam9x5_pm_init(void) { }
25static inline void __init sama5_pm_init(void) { }
 
 
26#endif
27
28#endif /* _AT91_GENERIC_H */