viafb: move some include files to include/linux
authorJonathan Corbet <corbet@lwn.net>
Wed, 5 May 2010 20:44:55 +0000 (14:44 -0600)
committerJonathan Corbet <corbet@lwn.net>
Tue, 11 May 2010 22:07:59 +0000 (16:07 -0600)
These are the files which should be available to subdevices compiled
outside of drivers/video/via.

Cc: ScottFang@viatech.com.cn
Cc: JosephChan@via.com.tw
Cc: Harald Welte <laforge@gnumonks.org>
Acked-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
15 files changed:
drivers/video/via/accel.c
drivers/video/via/dvi.c
drivers/video/via/hw.c
drivers/video/via/lcd.c
drivers/video/via/via-core.c
drivers/video/via/via-gpio.c
drivers/video/via/via_i2c.c
drivers/video/via/via_modesetting.c
drivers/video/via/via_utility.c
drivers/video/via/viafbdev.c
drivers/video/via/viamode.c
drivers/video/via/vt1636.c
include/linux/via-core.h [moved from drivers/video/via/via-core.h with 100% similarity]
include/linux/via-gpio.h [moved from drivers/video/via/via-gpio.h with 100% similarity]
include/linux/via_i2c.h [moved from drivers/video/via/via_i2c.h with 100% similarity]

index 189aba41f9b91e5e8a002daae6250316a66ee56c..e44893ea590d9b1b2194a621d567b38b78a70364 100644 (file)
@@ -18,7 +18,7 @@
  * Foundation, Inc.,
  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
-#include "via-core.h"
+#include <linux/via-core.h>
 #include "global.h"
 
 /*
index 6271b769632331b48a803b83e21e69e9974e0821..39b040bb3817f775cc45c4d73407464e366c296c 100644 (file)
@@ -18,8 +18,8 @@
  * Foundation, Inc.,
  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
-#include "via-core.h"
-#include "via_i2c.h"
+#include <linux/via-core.h>
+#include <linux/via_i2c.h>
 #include "global.h"
 
 static void tmds_register_write(int index, u8 data);
index e356fe8d8a90f521442ec1763b2f5076b7232441..b996803ae2c18b1c85efd5a1ba99b98c3293e9d6 100644 (file)
@@ -18,7 +18,8 @@
  * Foundation, Inc.,
  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
-#include "via-core.h"
+
+#include <linux/via-core.h>
 #include "global.h"
 
 static struct pll_map pll_value[] = {
index 04eec31aa9a2aef6a6e4d02af1198d5c30916246..2ab0f156439ab25e22a34826b53e4b87ae19e54f 100644 (file)
@@ -18,8 +18,8 @@
  * Foundation, Inc.,
  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
-#include "via-core.h"
-#include "via_i2c.h"
+#include <linux/via-core.h>
+#include <linux/via_i2c.h>
 #include "global.h"
 #include "lcdtbl.h"
 
index 188c0022dcb44d87b3147bd861a29e2fd7579fa6..e8cfe839211067e12d1930f0c5734c89cc88fc69 100644 (file)
@@ -7,9 +7,9 @@
 /*
  * Core code for the Via multifunction framebuffer device.
  */
-#include "via-core.h"
-#include "via_i2c.h"
-#include "via-gpio.h"
+#include <linux/via-core.h>
+#include <linux/via_i2c.h>
+#include <linux/via-gpio.h>
 #include "global.h"
 
 #include <linux/module.h>
index 67d699cbfd2c3758e354a915845a5fce6df0dd90..595516aea6917dc5f19d5e725e139b07c7f00512 100644 (file)
@@ -8,8 +8,8 @@
 #include <linux/spinlock.h>
 #include <linux/gpio.h>
 #include <linux/platform_device.h>
-#include "via-core.h"
-#include "via-gpio.h"
+#include <linux/via-core.h>
+#include <linux/via-gpio.h>
 
 /*
  * The ports we know about.  Note that the port-25 gpios are not
index 2291765f2f8efe06929d4799e6b50c7fa8bd3637..da9e4ca94b1748ce426584c404f70d70808a7902 100644 (file)
@@ -23,8 +23,8 @@
 #include <linux/delay.h>
 #include <linux/spinlock.h>
 #include <linux/module.h>
-#include "via-core.h"
-#include "via_i2c.h"
+#include <linux/via-core.h>
+#include <linux/via_i2c.h>
 
 /*
  * There can only be one set of these, so there's no point in having
index b4e735cc350eec4646489298a5943762e2a5e885..3cddcff88ab90400b8bf4b58cd7f14b7bf9b099f 100644 (file)
@@ -24,8 +24,8 @@
  */
 
 #include <linux/kernel.h>
+#include <linux/via-core.h>
 #include "via_modesetting.h"
-#include "via-core.h"
 #include "share.h"
 #include "debug.h"
 
index 5757031418681c3eef92372df2c637fe5facba8b..d05ccb62b55f7774282b775cb88eb8e0dbac6a75 100644 (file)
@@ -19,7 +19,7 @@
  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "via-core.h"
+#include <linux/via-core.h>
 #include "global.h"
 
 void viafb_get_device_support_state(u32 *support_state)
index 3d033186a822ae66665bf6312876ee57aa2d7d4d..d3dd2eb95586db6dff912b45b6863cdbfc720134 100644 (file)
@@ -22,9 +22,9 @@
 #include <linux/module.h>
 #include <linux/seq_file.h>
 #include <linux/stat.h>
-#define _MASTER_FILE
+#include <linux/via-core.h>
 
-#include "via-core.h"
+#define _MASTER_FILE
 #include "global.h"
 
 static char *viafb_name = "Via";
index 2fdb9e6724a4503ffbf07c1b262afeb9f04c99e3..2dbad3c0f67912fd58af38c432f8eccf3f63ae0a 100644 (file)
@@ -19,7 +19,7 @@
  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "via-core.h"
+#include <linux/via-core.h>
 #include "global.h"
 struct res_map_refresh res_map_refresh_tbl[] = {
 /*hres, vres, vclock, vmode_refresh*/
index e5f80247288327e2335895b3a3bb8e71536c0550..d65bf1aee87c1868db5b1127afb95af5cf2426dd 100644 (file)
@@ -19,8 +19,8 @@
  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "via-core.h"
-#include "via_i2c.h"
+#include <linux/via-core.h>
+#include <linux/via_i2c.h>
 #include "global.h"
 
 u8 viafb_gpio_i2c_read_lvds(struct lvds_setting_information