Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1646436
| From | Wolfram Sang <wsa@the-dreams.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 4/5] hwmon: max6639: move header file out of I2C realm |
| Date | 2017-05-21 22:40 +0200 |
| Message-ID | <tJFNU-49M-29@gated-at.bofh.it> (permalink) |
| References | <tJFNT-49M-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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>
---
drivers/hwmon/max6639.c | 2 +-
include/linux/{i2c => platform_data}/max6639.h | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename include/linux/{i2c => platform_data}/max6639.h (100%)
diff --git a/drivers/hwmon/max6639.c b/drivers/hwmon/max6639.c
index dac6d85f2fd956..f98a83c79ff147 100644
--- a/drivers/hwmon/max6639.c
+++ b/drivers/hwmon/max6639.c
@@ -32,7 +32,7 @@
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
#include <linux/mutex.h>
-#include <linux/i2c/max6639.h>
+#include <linux/platform_data/max6639.h>
/* Addresses to scan */
static const unsigned short normal_i2c[] = { 0x2c, 0x2e, 0x2f, I2C_CLIENT_END };
diff --git a/include/linux/i2c/max6639.h b/include/linux/platform_data/max6639.h
similarity index 100%
rename from include/linux/i2c/max6639.h
rename to include/linux/platform_data/max6639.h
--
2.11.0
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/5] hwmon: move include files out of include/linux/i2c Wolfram Sang <wsa@the-dreams.de> - 2017-05-21 22:40 +0200
[PATCH 2/5] hwmon: ds620: move header file out of I2C realm Wolfram Sang <wsa@the-dreams.de> - 2017-05-21 22:40 +0200
[PATCH 5/5] hwmon: pmbus: move header file out of I2C realm Wolfram Sang <wsa@the-dreams.de> - 2017-05-21 22:40 +0200
[PATCH 1/5] hwmon: ads1015: move header file out of I2C realm Wolfram Sang <wsa@the-dreams.de> - 2017-05-21 22:40 +0200
[PATCH 3/5] hwmon: ltc4245: move header file out of I2C realm Wolfram Sang <wsa@the-dreams.de> - 2017-05-21 22:40 +0200
[PATCH 4/5] hwmon: max6639: move header file out of I2C realm Wolfram Sang <wsa@the-dreams.de> - 2017-05-21 22:40 +0200
Re: [PATCH 0/5] hwmon: move include files out of include/linux/i2c Guenter Roeck <linux@roeck-us.net> - 2017-05-22 05:10 +0200
Re: [PATCH 0/5] hwmon: move include files out of include/linux/i2c Wolfram Sang <wsa@the-dreams.de> - 2017-05-22 08:40 +0200
csiph-web