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: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
Jonathan Corbet 2010-05-05 14:44:55 -06:00
parent 9221fc6556
commit ec66841e49
15 changed files with 21 additions and 20 deletions

View File

@ -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"
/* /*

View File

@ -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);

View File

@ -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[] = {

View File

@ -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"

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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)

View File

@ -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";

View File

@ -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*/

View File

@ -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