blob: 28ca57a2060f060f4b86b5c5d74a82c76e4a7371 [file] [log] [blame]
SAN People73a59c12006-01-09 17:05:41 +00001/*
Andrew Victor9d041262007-02-05 11:42:07 +01002 * linux/arch/arm/mach-at91/generic.h
SAN People73a59c12006-01-09 17:05:41 +00003 *
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
Maxime Ripard1bd59db2014-07-01 11:33:15 +020011#ifndef _AT91_GENERIC_H
12#define _AT91_GENERIC_H
13
Alexandre Belloni4db0ba22015-01-15 15:59:27 +010014#ifdef CONFIG_PM
Nicolas Ferread3fc3e2015-01-27 18:41:33 +010015extern 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);
Alexandre Bellonifbc7edc2015-09-30 01:58:40 +020019extern void __init sama5_pm_init(void);
Alexandre Belloni4db0ba22015-01-15 15:59:27 +010020#else
Arnd Bergmanna91c5822015-01-25 14:42:49 +010021static 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) { }
Alexandre Bellonifbc7edc2015-09-30 01:58:40 +020025static inline void __init sama5_pm_init(void) { }
Alexandre Belloni4db0ba22015-01-15 15:59:27 +010026#endif
27
Maxime Ripard1bd59db2014-07-01 11:33:15 +020028#endif /* _AT91_GENERIC_H */