rk29phone:fix building errors without wm8994
[firefly-linux-kernel-4.4.55.git] / drivers / input / touchscreen / calibration_ts.h
old mode 100644 (file)
new mode 100755 (executable)
index 8c3b6e9..795d7b4
 #ifndef __DRIVERS_TOUCHSCREEN_CALIBRATION_TS_H\r
 #define __DRIVERS_TOUCHSCREEN_CALIBRATION_TS_H\r
 \r
+struct adc_point\r
+{\r
+    int x;\r
+    int y;\r
+};\r
+\r
 #define TWO_DIMENSIONAL_CALIBRATION 1\r
 \r
 #define ADC_PRECISION       12          // Precision of ADC output (in bits)\r
@@ -48,4 +54,6 @@ TouchPanelCalibrateAPoint(
     int   *pCalY      //@PARM The calibrated Y coordinate\r
     );\r
 \r
+int  tp_calib_iface_init(int *x,int *y,int *uncali_x, int *uncali_y);\r
+void  tp_calib_iface_exit(void);\r
 #endif\r