summaryrefslogtreecommitdiffstats
path: root/include/linux/power/bq20z75.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/power/bq20z75.h')
-rw-r--r--include/linux/power/bq20z75.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/power/bq20z75.h b/include/linux/power/bq20z75.h
index 0e1b8a26a9b1..b0843b68af92 100644
--- a/include/linux/power/bq20z75.h
+++ b/include/linux/power/bq20z75.h
@@ -28,10 +28,12 @@
* struct bq20z75_platform_data - platform data for bq20z75 devices
* @battery_detect: GPIO which is used to detect battery presence
* @battery_detect_present: gpio state when battery is present (0 / 1)
+ * @i2c_retry_count: # of times to retry on i2c IO failure
*/
struct bq20z75_platform_data {
int battery_detect;
int battery_detect_present;
+ int i2c_retry_count;
};
#endif
OpenPOWER on IntegriCloud