mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-09 01:28:05 -04:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
19
include/linux/power/bq27x00_battery.h
Normal file
19
include/linux/power/bq27x00_battery.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
#ifndef __LINUX_BQ27X00_BATTERY_H__
|
||||
#define __LINUX_BQ27X00_BATTERY_H__
|
||||
|
||||
/**
|
||||
* struct bq27000_plaform_data - Platform data for bq27000 devices
|
||||
* @name: Name of the battery. If NULL the driver will fallback to "bq27000".
|
||||
* @read: HDQ read callback.
|
||||
* This function should provide access to the HDQ bus the battery is
|
||||
* connected to.
|
||||
* The first parameter is a pointer to the battery device, the second the
|
||||
* register to be read. The return value should either be the content of
|
||||
* the passed register or an error value.
|
||||
*/
|
||||
struct bq27000_platform_data {
|
||||
const char *name;
|
||||
int (*read)(struct device *dev, unsigned int);
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue