Commit ec66841e authored by Jonathan Corbet's avatar Jonathan Corbet

viafb: move some include files to include/linux

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: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 9221fc65
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
* Foundation, Inc., * Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/ */
#include "via-core.h" #include <linux/via-core.h>
#include "global.h" #include "global.h"
/* /*
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
* Foundation, Inc., * Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/ */
#include "via-core.h" #include <linux/via-core.h>
#include "via_i2c.h" #include <linux/via_i2c.h>
#include "global.h" #include "global.h"
static void tmds_register_write(int index, u8 data); static void tmds_register_write(int index, u8 data);
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
* Foundation, Inc., * Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/ */
#include "via-core.h"
#include <linux/via-core.h>
#include "global.h" #include "global.h"
static struct pll_map pll_value[] = { static struct pll_map pll_value[] = {
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
* Foundation, Inc., * Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/ */
#include "via-core.h" #include <linux/via-core.h>
#include "via_i2c.h" #include <linux/via_i2c.h>
#include "global.h" #include "global.h"
#include "lcdtbl.h" #include "lcdtbl.h"
......
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
/* /*
* Core code for the Via multifunction framebuffer device. * Core code for the Via multifunction framebuffer device.
*/ */
#include "via-core.h" #include <linux/via-core.h>
#include "via_i2c.h" #include <linux/via_i2c.h>
#include "via-gpio.h" #include <linux/via-gpio.h>
#include "global.h" #include "global.h"
#include <linux/module.h> #include <linux/module.h>
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include "via-core.h" #include <linux/via-core.h>
#include "via-gpio.h" #include <linux/via-gpio.h>
/* /*
* The ports we know about. Note that the port-25 gpios are not * The ports we know about. Note that the port-25 gpios are not
......
...@@ -23,8 +23,8 @@ ...@@ -23,8 +23,8 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/module.h> #include <linux/module.h>
#include "via-core.h" #include <linux/via-core.h>
#include "via_i2c.h" #include <linux/via_i2c.h>
/* /*
* There can only be one set of these, so there's no point in having * There can only be one set of these, so there's no point in having
......
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/via-core.h>
#include "via_modesetting.h" #include "via_modesetting.h"
#include "via-core.h"
#include "share.h" #include "share.h"
#include "debug.h" #include "debug.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/ */
#include "via-core.h" #include <linux/via-core.h>
#include "global.h" #include "global.h"
void viafb_get_device_support_state(u32 *support_state) void viafb_get_device_support_state(u32 *support_state)
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <linux/stat.h> #include <linux/stat.h>
#define _MASTER_FILE #include <linux/via-core.h>
#include "via-core.h" #define _MASTER_FILE
#include "global.h" #include "global.h"
static char *viafb_name = "Via"; static char *viafb_name = "Via";
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/ */
#include "via-core.h" #include <linux/via-core.h>
#include "global.h" #include "global.h"
struct res_map_refresh res_map_refresh_tbl[] = { struct res_map_refresh res_map_refresh_tbl[] = {
/*hres, vres, vclock, vmode_refresh*/ /*hres, vres, vclock, vmode_refresh*/
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/ */
#include "via-core.h" #include <linux/via-core.h>
#include "via_i2c.h" #include <linux/via_i2c.h>
#include "global.h" #include "global.h"
u8 viafb_gpio_i2c_read_lvds(struct lvds_setting_information u8 viafb_gpio_i2c_read_lvds(struct lvds_setting_information
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment