ARM: shmobile: R-Mobile: Remove legacy PM Domain code
[linux-2.6/btrfs-unstable.git] / arch / arm / mach-shmobile / pm-rmobile.h
blob30a4a421ee315b987946e0f005d199f3903112e4
1 /*
2 * Copyright (C) 2012 Renesas Solutions Corp.
4 * Kuninori Morimoto <morimoto.kuninori@renesas.com>
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file "COPYING" in the main directory of this archive
8 * for more details.
9 */
10 #ifndef PM_RMOBILE_H
11 #define PM_RMOBILE_H
13 #include <linux/pm_domain.h>
15 #define DEFAULT_DEV_LATENCY_NS 250000
17 struct platform_device;
19 struct rmobile_pm_domain {
20 struct generic_pm_domain genpd;
21 struct dev_power_governor *gov;
22 int (*suspend)(void);
23 void (*resume)(void);
24 void __iomem *base;
25 unsigned int bit_shift;
26 bool no_debug;
29 struct pm_domain_device {
30 const char *domain_name;
31 struct platform_device *pdev;
34 #endif /* PM_RMOBILE_H */