Commit Graph

7 Commits

Author SHA1 Message Date
Guenter Roeck
e4056dade6 Revert "Provide vid_from_reg and vid_which_vrm if needed"
This reverts commit 905a3a095d.

This didn't work and results in duplicate symbols.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-05-09 20:40:22 -07:00
Guenter Roeck
905a3a095d Provide vid_from_reg and vid_which_vrm if needed
Some oddball distributions do not have CONFIG_HWMON_VID enabled.
Work around the problem by providing dummy functions if this is the case.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-05-08 14:26:55 -07:00
Guenter Roeck
2e1b3d02b3 Declare dummy vid functions if needed
Some kernel configurations may have CONFIG_HWMON_VID disabled.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2017-05-24 06:02:47 -07:00
Guenter Roeck
034e27046c Synchronize with upstream version
Also ensure the driver still builds with the latest upstream kernel.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2015-01-17 10:01:10 -08:00
Guenter Roeck
91230349d3 sync w/ upstream, plus preliminary PECI support
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2012-10-30 14:50:41 -07:00
Guenter Roeck
fcea628422 sync with upstream version
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2012-10-24 12:50:27 -07:00
Guenter Roeck
63613d0d38 Add compat.h for backwards compatibility
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2012-03-27 08:30:15 -07:00