Merge tag 'cris-for-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/jesper...
[deliverable/linux.git] / arch / arm / mach-at91 / generic.h
CommitLineData
73a59c1c 1/*
9d041268 2 * linux/arch/arm/mach-at91/generic.h
73a59c1c
SP
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
1bd59dbe
MR
11#ifndef _AT91_GENERIC_H
12#define _AT91_GENERIC_H
13
8014d6f4 14#include <linux/of.h>
7b6d864b 15#include <linux/reboot.h>
bd602995 16
1b021a3b 17 /* Map io */
21d08b9d 18extern void __init at91_map_io(void);
726d32bf 19extern void __init at91_alt_map_io(void);
1b021a3b 20
0d781716 21/* idle */
29ee506d 22extern void at91rm9200_idle(void);
0d781716
JCPV
23extern void at91sam9_idle(void);
24
4db0ba22 25#ifdef CONFIG_PM
ad3fc3e3
NF
26extern void __init at91rm9200_pm_init(void);
27extern void __init at91sam9260_pm_init(void);
28extern void __init at91sam9g45_pm_init(void);
29extern void __init at91sam9x5_pm_init(void);
4db0ba22 30#else
a91c5824
AB
31static inline void __init at91rm9200_pm_init(void) { }
32static inline void __init at91sam9260_pm_init(void) { }
33static inline void __init at91sam9g45_pm_init(void) { }
34static inline void __init at91sam9x5_pm_init(void) { }
4db0ba22
AB
35#endif
36
1bd59dbe 37#endif /* _AT91_GENERIC_H */
This page took 0.688656 seconds and 5 git commands to generate.