diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2017-05-21 23:34:42 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2017-06-12 03:08:19 +0300 |
commit | 0c9fe1614126171c70e0dc0b0635d45a327ac82a (patch) | |
tree | d4769a7417d478ff753bc2e49f906ac05cc81398 /include/linux/platform_data | |
parent | 8116e8dd564fcbadf9f3697dcd0c3d37c049fb45 (diff) | |
download | linux-0c9fe1614126171c70e0dc0b0635d45a327ac82a.tar.xz |
hwmon: (max6639) move header file out of I2C realm
include/linux/i2c is not for client devices. Move the header file to a
more appropriate location.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r-- | include/linux/platform_data/max6639.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/platform_data/max6639.h b/include/linux/platform_data/max6639.h new file mode 100644 index 000000000000..6011c42034da --- /dev/null +++ b/include/linux/platform_data/max6639.h @@ -0,0 +1,14 @@ +#ifndef _LINUX_MAX6639_H +#define _LINUX_MAX6639_H + +#include <linux/types.h> + +/* platform data for the MAX6639 temperature sensor and fan control */ + +struct max6639_platform_data { + bool pwm_polarity; /* Polarity low (0) or high (1, default) */ + int ppr; /* Pulses per rotation 1..4 (default == 2) */ + int rpm_range; /* 2000, 4000 (default), 8000 or 16000 */ +}; + +#endif /* _LINUX_MAX6639_H */ |