blob: 9c4b5d7fd62369e7254b9f19a152956b702708d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/*
* OMAP PM interface helpers
*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
* Nishanth Menon
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef __OMAP_PM_HELPER_INTERFACE_H__
#define __OMAP_PM_HELPER_INTERFACE_H__
#ifdef CONFIG_OMAP_PM
int omap_pm_set_min_bus_tput_helper(struct device *dev, u8 agent_id, long r);
int omap_pm_set_max_dev_wakeup_lat_helper(struct device *req_dev,
struct device *dev, long t);
int __init omap_pm_if_init_helper(void);
#else
static inline int omap_pm_set_min_bus_tput_helper(struct device *dev,
u8 agent_id, long r)
{
return 0;
}
static inline int omap_pm_set_max_dev_wakeup_lat_helper(struct device *req_dev,
struct device *dev, long t)
{
return 0;
}
static inline int omap_pm_if_init_helper(void)
{
return 0;
}
#endif /* CONFIG_OMAP_PM */
#endif /* __OMAP_PM_HELPER_INTERFACE_H__ */
|