Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1646443 > unrolled thread

[PATCH 2/2] misc: bh1770glc: move header file out of I2C realm

Started byWolfram Sang <wsa@the-dreams.de>
First post2017-05-21 22:50 +0200
Last post2017-05-21 22:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/2] misc: bh1770glc: move header file out of I2C realm Wolfram Sang <wsa@the-dreams.de> - 2017-05-21 22:50 +0200

#1646443 — [PATCH 2/2] misc: bh1770glc: move header file out of I2C realm

FromWolfram Sang <wsa@the-dreams.de>
Date2017-05-21 22:50 +0200
Subject[PATCH 2/2] misc: bh1770glc: move header file out of I2C realm
Message-ID<tJFXA-4dN-27@gated-at.bofh.it>
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/bh1770glc.c                         | 2 +-
 include/linux/{i2c => platform_data}/bh1770glc.h | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename include/linux/{i2c => platform_data}/bh1770glc.h (100%)

diff --git a/drivers/misc/bh1770glc.c b/drivers/misc/bh1770glc.c
index 845466e45b9593..38fcfe219d1cf1 100644
--- a/drivers/misc/bh1770glc.c
+++ b/drivers/misc/bh1770glc.c
@@ -27,7 +27,7 @@
 #include <linux/i2c.h>
 #include <linux/interrupt.h>
 #include <linux/mutex.h>
-#include <linux/i2c/bh1770glc.h>
+#include <linux/platform_data/bh1770glc.h>
 #include <linux/regulator/consumer.h>
 #include <linux/pm_runtime.h>
 #include <linux/workqueue.h>
diff --git a/include/linux/i2c/bh1770glc.h b/include/linux/platform_data/bh1770glc.h
similarity index 100%
rename from include/linux/i2c/bh1770glc.h
rename to include/linux/platform_data/bh1770glc.h
-- 
2.11.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web