aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/omap4_duty_cycle.h
blob: d081082d761242c14c0f2ddd595387c458d167a8 (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
/*
 * Thermal Framework Driver
 *
 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
 * Author: Eugen Mandrenko <ievgen.mandrenko@ti.com>
 *
 * This software is licensed under the terms of the GNU General Public
 * License version 2, as published by the Free Software Foundation, and
 * may be copied, distributed, and modified under those terms.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
*/

#ifndef __OMAP4_DUTY_CYCLE_H__
#define __OMAP4_DUTY_CYCLE_H__

#include <linux/thermal_framework.h>

struct duty_cycle_dev {
	int (*cool_device) (struct thermal_dev *, int temp);
};

int duty_cooling_dev_register(struct duty_cycle_dev *duty_cycle_dev);
void duty_cooling_dev_unregister(void);

#endif /*__OMAP4_DUTY_CYCLE_H__*/