blob: e2bd172379648548d35e942ad705cf56cb09655d [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 Belloni24a0f5c2016-09-27 12:29:50 +020018extern void __init sama5d2_pm_init(void);
Alexandre Belloni4db0ba22015-01-15 15:59:27 +010019#else
Arnd Bergmanna91c5822015-01-25 14:42:49 +010020static inline void __init at91rm9200_pm_init(void) { }
Alexandre Belloni13469192017-02-01 23:43:03 +010021static inline void __init at91sam9_pm_init(void) { }
Alexandre Bellonifbc7edc2015-09-30 01:58:40 +020022static inline void __init sama5_pm_init(void) { }
Alexandre Belloni24a0f5c2016-09-27 12:29:50 +020023static inline void __init sama5d2_pm_init(void) { }
Alexandre Belloni4db0ba22015-01-15 15:59:27 +010024#endif
25
Maxime Ripard1bd59db2014-07-01 11:33:15 +020026#endif /* _AT91_GENERIC_H */