summaryrefslogtreecommitdiff
path: root/drivers/hwmon/abx500.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/abx500.h')
-rw-r--r--drivers/hwmon/abx500.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/hwmon/abx500.h b/drivers/hwmon/abx500.h
index a089a63939d..1d41aa191fe 100644
--- a/drivers/hwmon/abx500.h
+++ b/drivers/hwmon/abx500.h
@@ -10,7 +10,9 @@
#define NUM_SENSORS 5
struct ab8500_gpadc;
+struct ab5500_gpadc;
struct ab8500_btemp;
+struct adc_auto_input;
struct abx500_temp;
/**
@@ -34,7 +36,9 @@ struct abx500_temp_ops {
* @pdev: platform device
* @hwmon_dev: hwmon device
* @ab8500_gpadc: gpadc interface for ab8500
+ * @ab5500_gpadc: gpadc interface for ab5500
* @btemp: battery temperature interface for ab8500
+ * @adc_auto_input: gpadc auto trigger
* @gpadc_addr: gpadc channel address
* @temp: sensor temperature input value
* @min: sensor temperature min value
@@ -57,7 +61,9 @@ struct abx500_temp {
struct platform_device *pdev;
struct device *hwmon_dev;
struct ab8500_gpadc *ab8500_gpadc;
+ struct ab5500_gpadc *ab5500_gpadc;
struct ab8500_btemp *ab8500_btemp;
+ struct adc_auto_input *gpadc_auto;
struct abx500_temp_ops ops;
u8 gpadc_addr[NUM_SENSORS];
unsigned long temp[NUM_SENSORS];