mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-08 01:08:03 -04:00
26 lines
521 B
C
26 lines
521 B
C
|
|
#ifndef _TSP_TA_CALLBACK_H_
|
|
#define _TSP_TA_CALLBACK_H_
|
|
|
|
#ifdef CONFIG_EXTCON
|
|
#undef USE_TSP_TA_CALLBACKS
|
|
#else
|
|
|
|
/* Model define */
|
|
#if defined(CONFIG_TOUCHSCREEN_TA_CALLBACK_ENABLE)
|
|
#define USE_TSP_TA_CALLBACKS
|
|
#else /* default */
|
|
#undef USE_TSP_TA_CALLBACKS
|
|
#endif
|
|
|
|
#endif /* CONFIG_EXTCON */
|
|
|
|
#ifdef USE_TSP_TA_CALLBACKS
|
|
extern struct tsp_callbacks *charger_callbacks;
|
|
struct tsp_callbacks {
|
|
void (*inform_charger)(struct tsp_callbacks *, int);
|
|
};
|
|
#endif
|
|
|
|
#endif /* _TSP_TA_CALLBACK_H_ */
|
|
|