blob: ebdb62ffeb578c94c692853a88b5cc52caed3772 (
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
32
|
/* include/linux/touch_fw_update.h
*
* Copyright (c)2014 HTC, Inc.
*
* Driver Version: 1.0.0
* Release Date: Aug 28, 2014
*
* 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 __TOUCH_FWU_H
#define __TOUCH_FWU_H
struct touch_fwu_notifier {
int (*fwupdate)(struct firmware *fw);
u32 flash_timeout;
char fw_vendor[20];
char fw_ver[20];
};
int register_fw_update(struct touch_fwu_notifier *notifier);
void unregister_fw_update(void);
void touch_fw_update_progress(int percentage);
#endif //__TOUCH_FWU_H
|