android_kernel_cmhtcleo/include/linux/tps65200.h
Markinus 55ca1d277a htcleo: add new battery driver
This driver is comming from desire hd and is modificated for htcleo
2010-10-26 17:41:48 +02:00

24 lines
745 B
C

/*
* Copyright (C) 2007 HTC Incorporated
*
* 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 _TPS65200_H_
#define _TPS65200_H_
#include <linux/notifier.h>
#include <mach/htc_battery.h>
#ifdef CONFIG_TPS65200
extern int tps_set_charger_ctrl(u32 ctl);
#else
static int tps_set_charger_ctrl(u32 ctl) {return 0 ; }
#endif
#endif