blk: rq_data_dir() should not return a boolean
[cris-mirror.git] / arch / blackfin / include / asm / pm.h
blobf72239bf3638c813d79d806b37c221deeff6cea3
1 /*
2 * Blackfin bf609 power management
4 * Copyright 2011 Analog Devices Inc.
6 * Licensed under the GPL-2
7 */
9 #ifndef __PM_H__
10 #define __PM_H__
12 #include <linux/suspend.h>
14 struct bfin_cpu_pm_fns {
15 void (*save)(unsigned long *);
16 void (*restore)(unsigned long *);
17 int (*valid)(suspend_state_t state);
18 void (*enter)(suspend_state_t state);
19 int (*prepare)(void);
20 void (*finish)(void);
23 extern struct bfin_cpu_pm_fns *bfin_cpu_pm;
25 # ifdef CONFIG_BFIN_COREB
26 void bfin_coreb_start(void);
27 void bfin_coreb_stop(void);
28 void bfin_coreb_reset(void);
29 # endif
31 #endif