]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
gpu: drm: tc35876x: move header file out of I2C realm
authorWolfram Sang <wsa@the-dreams.de>
Wed, 17 May 2017 15:22:18 +0000 (17:22 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 13 Aug 2017 14:07:17 +0000 (16:07 +0200)
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>
Acked-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
arch/x86/platform/intel-mid/device_libs/platform_tc35876x.c
drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c
include/linux/i2c/tc35876x.h [deleted file]
include/linux/platform_data/tc35876x.h [new file with mode: 0644]

index b1526b95fd43acbd3a517b2f6332a361b1da9726..2905376559f1608defb7ccebb0f2c5e91ddf4d9e 100644 (file)
@@ -11,7 +11,7 @@
  */
 
 #include <linux/gpio.h>
-#include <linux/i2c/tc35876x.h>
+#include <linux/platform_data/tc35876x.h>
 #include <asm/intel-mid.h>
 
 /*tc35876x DSI_LVDS bridge chip and panel platform data*/
index 771ff66711af78efd79f8b41c2e2a28be2f26cdf..37c997e24b9ebbd253f540397285a59325a9654c 100644 (file)
@@ -26,7 +26,7 @@
 #include "mdfld_output.h"
 #include "mdfld_dsi_pkg_sender.h"
 #include "tc35876x-dsi-lvds.h"
-#include <linux/i2c/tc35876x.h>
+#include <linux/platform_data/tc35876x.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <asm/intel_scu_ipc.h>
diff --git a/include/linux/i2c/tc35876x.h b/include/linux/i2c/tc35876x.h
deleted file mode 100644 (file)
index cd6a51c..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-
-#ifndef _TC35876X_H
-#define _TC35876X_H
-
-struct tc35876x_platform_data {
-       int gpio_bridge_reset;
-       int gpio_panel_bl_en;
-       int gpio_panel_vadd;
-};
-
-#endif /* _TC35876X_H */
diff --git a/include/linux/platform_data/tc35876x.h b/include/linux/platform_data/tc35876x.h
new file mode 100644 (file)
index 0000000..cd6a51c
--- /dev/null
@@ -0,0 +1,11 @@
+
+#ifndef _TC35876X_H
+#define _TC35876X_H
+
+struct tc35876x_platform_data {
+       int gpio_bridge_reset;
+       int gpio_panel_bl_en;
+       int gpio_panel_vadd;
+};
+
+#endif /* _TC35876X_H */