Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1646441
| From | Wolfram Sang <wsa@the-dreams.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/2] misc: apds990x: move header file out of I2C realm |
| Date | 2017-05-21 22:50 +0200 |
| Message-ID | <tJFXA-4dN-15@gated-at.bofh.it> (permalink) |
| References | <tJFXA-4dN-17@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/misc/apds990x.c | 2 +-
include/linux/{i2c => platform_data}/apds990x.h | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename include/linux/{i2c => platform_data}/apds990x.h (100%)
diff --git a/drivers/misc/apds990x.c b/drivers/misc/apds990x.c
index dfb72ecfa60461..c341164edaad01 100644
--- a/drivers/misc/apds990x.c
+++ b/drivers/misc/apds990x.c
@@ -32,7 +32,7 @@
#include <linux/delay.h>
#include <linux/wait.h>
#include <linux/slab.h>
-#include <linux/i2c/apds990x.h>
+#include <linux/platform_data/apds990x.h>
/* Register map */
#define APDS990X_ENABLE 0x00 /* Enable of states and interrupts */
diff --git a/include/linux/i2c/apds990x.h b/include/linux/platform_data/apds990x.h
similarity index 100%
rename from include/linux/i2c/apds990x.h
rename to include/linux/platform_data/apds990x.h
--
2.11.0
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 1/2] misc: apds990x: move header file out of I2C realm Wolfram Sang <wsa@the-dreams.de> - 2017-05-21 22:50 +0200
Re: [PATCH 1/2] misc: apds990x: move header file out of I2C realm Arnd Bergmann <arnd@arndb.de> - 2017-05-22 16:30 +0200
Re: [PATCH 1/2] misc: apds990x: move header file out of I2C realm Wolfram Sang <wsa@the-dreams.de> - 2017-05-22 18:00 +0200
Re: [PATCH 1/2] misc: apds990x: move header file out of I2C realm Arnd Bergmann <arnd@arndb.de> - 2017-05-23 00:00 +0200
Re: [PATCH 1/2] misc: apds990x: move header file out of I2C realm Linus Walleij <linus.walleij@linaro.org> - 2017-05-23 00:40 +0200
Re: [PATCH 1/2] misc: apds990x: move header file out of I2C realm Wolfram Sang <wsa@the-dreams.de> - 2017-05-23 08:30 +0200
csiph-web