blob: f1ead0f13c19e053a1ffaddd9c031b6f9c9fb978 [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);
Alexandre Belloni13469192017-02-01 23:43:03 +010016extern void __init at91sam9_pm_init(void);
Alexandre Bellonifbc7edc2015-09-30 01:58:40 +020017extern void __init sama5_pm_init(void);
Alexandre Belloni4db0ba22015-01-15 15:59:27 +010018#else
Arnd Bergmanna91c5822015-01-25 14:42:49 +010019static inline void __init at91rm9200_pm_init(void) { }
Alexandre Belloni13469192017-02-01 23:43:03 +010020static inline void __init at91sam9_pm_init(void) { }
Alexandre Bellonifbc7edc2015-09-30 01:58:40 +020021static inline void __init sama5_pm_init(void) { }
Alexandre Belloni4db0ba22015-01-15 15:59:27 +010022#endif
23
Maxime Ripard1bd59db2014-07-01 11:33:15 +020024#endif /* _AT91_GENERIC_H */