diff options
| author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-05-21 03:52:16 -0400 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-05-21 03:52:16 -0400 |
| commit | e1b73cba13a0cc68dd4f746eced15bd6bb24cda4 (patch) | |
| tree | b1c9e10730724024a700031ad56c20419dabb500 /include/linux/platform_data/ntc_thermistor.h | |
| parent | 98304ad186296dc1e655399e28d5973c21db6a73 (diff) | |
| parent | c7788792a5e7b0d5d7f96d0766b4cb6112d47d75 (diff) | |
Merge tag 'v3.10-rc2' into drm-intel-next-queued
Backmerge Linux 3.10-rc2 since the various (rather trivial) conflicts
grew a bit out of hand. intel_dp.c has the only real functional
conflict since the logic changed while dev_priv->edp.bpp was moved
around.
Also squash in a whitespace fixup from Ben Widawsky for
i915_gem_gtt.c, git seems to do something pretty strange in there
(which I don't fully understand tbh).
Conflicts:
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_dp.c
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/linux/platform_data/ntc_thermistor.h')
| -rw-r--r-- | include/linux/platform_data/ntc_thermistor.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/linux/platform_data/ntc_thermistor.h b/include/linux/platform_data/ntc_thermistor.h index 88734e871e3a..c7285b575462 100644 --- a/include/linux/platform_data/ntc_thermistor.h +++ b/include/linux/platform_data/ntc_thermistor.h | |||
| @@ -21,6 +21,8 @@ | |||
| 21 | #ifndef _LINUX_NTC_H | 21 | #ifndef _LINUX_NTC_H |
| 22 | #define _LINUX_NTC_H | 22 | #define _LINUX_NTC_H |
| 23 | 23 | ||
| 24 | struct iio_channel; | ||
| 25 | |||
| 24 | enum ntc_thermistor_type { | 26 | enum ntc_thermistor_type { |
| 25 | TYPE_NCPXXWB473, | 27 | TYPE_NCPXXWB473, |
| 26 | TYPE_NCPXXWL333, | 28 | TYPE_NCPXXWL333, |
| @@ -39,13 +41,17 @@ struct ntc_thermistor_platform_data { | |||
| 39 | * described at Documentation/hwmon/ntc_thermistor | 41 | * described at Documentation/hwmon/ntc_thermistor |
| 40 | * | 42 | * |
| 41 | * pullup/down_ohm: 0 for infinite / not-connected | 43 | * pullup/down_ohm: 0 for infinite / not-connected |
| 44 | * | ||
| 45 | * chan: iio_channel pointer to communicate with the ADC which the | ||
| 46 | * thermistor is using for conversion of the analog values. | ||
| 42 | */ | 47 | */ |
| 43 | int (*read_uV)(void); | 48 | int (*read_uv)(struct ntc_thermistor_platform_data *); |
| 44 | unsigned int pullup_uV; | 49 | unsigned int pullup_uv; |
| 45 | 50 | ||
| 46 | unsigned int pullup_ohm; | 51 | unsigned int pullup_ohm; |
| 47 | unsigned int pulldown_ohm; | 52 | unsigned int pulldown_ohm; |
| 48 | enum { NTC_CONNECTED_POSITIVE, NTC_CONNECTED_GROUND } connect; | 53 | enum { NTC_CONNECTED_POSITIVE, NTC_CONNECTED_GROUND } connect; |
| 54 | struct iio_channel *chan; | ||
| 49 | 55 | ||
| 50 | int (*read_ohm)(void); | 56 | int (*read_ohm)(void); |
| 51 | }; | 57 | }; |
