summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/omap3-opp.h
blob: 01e7b4a83159755d6de7c4042dc54bcc58c4890f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __OMAP3_OPP_H_
#define __OMAP3_OPP_H_

#include <plat/omap-pm.h>

/**
 * omap3_pm_init_opp_table - OMAP opp table lookup called after cpu is detected.
 * Initialize the basic opp table here, board files could choose to modify opp
 * table after the basic initialization
 */
#ifdef CONFIG_PM
extern int omap3_pm_init_opp_table(void);
#else
static inline int omap3_pm_init_opp_table(void)
{
	return -EINVAL;
}
#endif

#endif