Skip to content

Commit

Permalink
viafb: move some include files to include/linux
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jonathan Corbet committed May 11, 2010
1 parent 9221fc6 commit ec66841
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 20 deletions.
2 changes: 1 addition & 1 deletion drivers/video/via/accel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

/*
Expand Down
4 changes: 2 additions & 2 deletions drivers/video/via/dvi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 2 additions & 1 deletion drivers/video/via/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = {
Expand Down
4 changes: 2 additions & 2 deletions drivers/video/via/lcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
6 changes: 3 additions & 3 deletions drivers/video/via/via-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions drivers/video/via/via-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions drivers/video/via/via_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion drivers/video/via/via_modesetting.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion drivers/video/via/via_utility.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions drivers/video/via/viafbdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion drivers/video/via/viamode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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*/
Expand Down
4 changes: 2 additions & 2 deletions drivers/video/via/vt1636.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ec66841

Please sign in to comment.