blob: eb1c3fd7cdfe67a50fbf8abb023c707e1e545f63 [file] [log] [blame]
Abhijeet Dharmapurikar00269e52012-05-14 17:59:10 -07001/* Copyright (c) 2012, Code Aurora Forum. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13#ifndef __KRAIT_REGULATOR_H__
14#define __KRAIT_REGULATOR_H__
15
16#define KRAIT_REGULATOR_DRIVER_NAME "krait-power-regulator"
17
18/**
19 * krait_power_init - driver initialization function
20 *
21 * This function registers the krait-power-regulator platform driver. This
22 * should be called from appropriate initialization code. Returns 0 on
23 * success and error on failure.
24 */
25int __init krait_power_init(void);
Abhijeet Dharmapurikare8571ef2012-08-14 20:44:58 -070026void secondary_cpu_hs_init(void *base_ptr);
Abhijeet Dharmapurikar00269e52012-05-14 17:59:10 -070027
28#endif