Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/linux/usb
File: charger.h
/*
[0] Fix | Delete
* This file defines the USB charger type and state that are needed for
[1] Fix | Delete
* USB device APIs.
[2] Fix | Delete
*/
[3] Fix | Delete
[4] Fix | Delete
#ifndef __LINUX_USB_CHARGER_H
[5] Fix | Delete
#define __LINUX_USB_CHARGER_H
[6] Fix | Delete
[7] Fix | Delete
/*
[8] Fix | Delete
* USB charger type:
[9] Fix | Delete
* SDP (Standard Downstream Port)
[10] Fix | Delete
* DCP (Dedicated Charging Port)
[11] Fix | Delete
* CDP (Charging Downstream Port)
[12] Fix | Delete
* ACA (Accessory Charger Adapters)
[13] Fix | Delete
*/
[14] Fix | Delete
enum usb_charger_type {
[15] Fix | Delete
UNKNOWN_TYPE = 0,
[16] Fix | Delete
SDP_TYPE = 1,
[17] Fix | Delete
DCP_TYPE = 2,
[18] Fix | Delete
CDP_TYPE = 3,
[19] Fix | Delete
ACA_TYPE = 4,
[20] Fix | Delete
};
[21] Fix | Delete
[22] Fix | Delete
/* USB charger state */
[23] Fix | Delete
enum usb_charger_state {
[24] Fix | Delete
USB_CHARGER_DEFAULT = 0,
[25] Fix | Delete
USB_CHARGER_PRESENT = 1,
[26] Fix | Delete
USB_CHARGER_ABSENT = 2,
[27] Fix | Delete
};
[28] Fix | Delete
[29] Fix | Delete
#endif /* __LINUX_USB_CHARGER_H */
[30] Fix | Delete
[31] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function