diff options
| author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-07-20 07:43:45 -0400 |
|---|---|---|
| committer | Samuel Ortiz <sameo@linux.intel.com> | 2009-09-17 03:46:51 -0400 |
| commit | fb6c023a2b845df1ec383b74644ac35a4bbb76b6 (patch) | |
| tree | dbb8acdaa37c8ce80ee702a55f672476b6e45444 /include/linux | |
| parent | 39b1772a24126d74699cea623f96b50ca6b6f08f (diff) | |
hwmon: Add WM835x PMIC hardware monitoring driver
This driver provides reporting of the status supply voltage rails
of the WM835x series of PMICs via the hwmon API.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/wm8350/core.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mfd/wm8350/core.h b/include/linux/mfd/wm8350/core.h index 42cca672f340..969b0b55615c 100644 --- a/include/linux/mfd/wm8350/core.h +++ b/include/linux/mfd/wm8350/core.h | |||
| @@ -605,6 +605,11 @@ struct wm8350_irq { | |||
| 605 | void *data; | 605 | void *data; |
| 606 | }; | 606 | }; |
| 607 | 607 | ||
| 608 | struct wm8350_hwmon { | ||
| 609 | struct platform_device *pdev; | ||
| 610 | struct device *classdev; | ||
| 611 | }; | ||
| 612 | |||
| 608 | struct wm8350 { | 613 | struct wm8350 { |
| 609 | struct device *dev; | 614 | struct device *dev; |
| 610 | 615 | ||
| @@ -629,6 +634,7 @@ struct wm8350 { | |||
| 629 | /* Client devices */ | 634 | /* Client devices */ |
| 630 | struct wm8350_codec codec; | 635 | struct wm8350_codec codec; |
| 631 | struct wm8350_gpio gpio; | 636 | struct wm8350_gpio gpio; |
| 637 | struct wm8350_hwmon hwmon; | ||
| 632 | struct wm8350_pmic pmic; | 638 | struct wm8350_pmic pmic; |
| 633 | struct wm8350_power power; | 639 | struct wm8350_power power; |
| 634 | struct wm8350_rtc rtc; | 640 | struct wm8350_rtc rtc; |
