Abhijeet Dharmapurikar | 00269e5 | 2012-05-14 17:59:10 -0700 | [diff] [blame] | 1 | /* 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 | */ |
| 25 | int __init krait_power_init(void); |
Abhijeet Dharmapurikar | e8571ef | 2012-08-14 20:44:58 -0700 | [diff] [blame] | 26 | void secondary_cpu_hs_init(void *base_ptr); |
Abhijeet Dharmapurikar | 00269e5 | 2012-05-14 17:59:10 -0700 | [diff] [blame] | 27 | |
| 28 | #endif |