Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1646432
| From | Wolfram Sang <wsa@the-dreams.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/1] hid: i2c-hid: move header file out of I2C realm |
| Date | 2017-05-21 22:40 +0200 |
| Message-ID | <tJFNT-49M-13@gated-at.bofh.it> (permalink) |
| References | <tJFNT-49M-11@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/hid/i2c-hid/i2c-hid.c | 2 +-
include/linux/{i2c => platform_data}/i2c-hid.h | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename include/linux/{i2c => platform_data}/i2c-hid.h (100%)
diff --git a/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c
index 8daa8ce64ebba5..841aa43526eba4 100644
--- a/drivers/hid/i2c-hid/i2c-hid.c
+++ b/drivers/hid/i2c-hid/i2c-hid.c
@@ -40,7 +40,7 @@
#include <linux/of.h>
#include <linux/regulator/consumer.h>
-#include <linux/i2c/i2c-hid.h>
+#include <linux/platform_data/i2c-hid.h>
#include "../hid-ids.h"
diff --git a/include/linux/i2c/i2c-hid.h b/include/linux/platform_data/i2c-hid.h
similarity index 100%
rename from include/linux/i2c/i2c-hid.h
rename to include/linux/platform_data/i2c-hid.h
--
2.11.0
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/1] hid: move include files out of include/linux/i2c Wolfram Sang <wsa@the-dreams.de> - 2017-05-21 22:40 +0200
[PATCH 1/1] hid: i2c-hid: move header file out of I2C realm Wolfram Sang <wsa@the-dreams.de> - 2017-05-21 22:40 +0200
Re: [PATCH 1/1] hid: i2c-hid: move header file out of I2C realm Benjamin Tissoires <benjamin.tissoires@redhat.com> - 2017-05-22 10:00 +0200
Re: [PATCH 1/1] hid: i2c-hid: move header file out of I2C realm Jiri Kosina <jikos@kernel.org> - 2017-05-22 14:10 +0200
csiph-web