aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/via
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2010-05-05 16:24:18 -0400
committerJonathan Corbet <corbet@lwn.net>2010-05-11 18:07:33 -0400
commit9221fc6556d6fa14b5c61050dd87e26fc4ad255c (patch)
treedfc8c3eb9b6126a69ff7ac329b6402397b996c17 /drivers/video/via
parent4a28ea9cedaa673b8a1a7f84628d784d020f3b47 (diff)
viafb: Eliminate some global.h references
The various subdev drivers (other than the framebuffer itself) no longer need this file. 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>
Diffstat (limited to 'drivers/video/via')
-rw-r--r--drivers/video/via/via-gpio.c1
-rw-r--r--drivers/video/via/via_i2c.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/video/via/via-gpio.c b/drivers/video/via/via-gpio.c
index 63cb7acc0faf..67d699cbfd2c 100644
--- a/drivers/video/via/via-gpio.c
+++ b/drivers/video/via/via-gpio.c
@@ -10,7 +10,6 @@
10#include <linux/platform_device.h> 10#include <linux/platform_device.h>
11#include "via-core.h" 11#include "via-core.h"
12#include "via-gpio.h" 12#include "via-gpio.h"
13#include "global.h"
14 13
15/* 14/*
16 * The ports we know about. Note that the port-25 gpios are not 15 * The ports we know about. Note that the port-25 gpios are not
diff --git a/drivers/video/via/via_i2c.c b/drivers/video/via/via_i2c.c
index 84ec2d6e98c4..2291765f2f8e 100644
--- a/drivers/video/via/via_i2c.c
+++ b/drivers/video/via/via_i2c.c
@@ -20,9 +20,11 @@
20 */ 20 */
21 21
22#include <linux/platform_device.h> 22#include <linux/platform_device.h>
23#include <linux/delay.h>
24#include <linux/spinlock.h>
25#include <linux/module.h>
23#include "via-core.h" 26#include "via-core.h"
24#include "via_i2c.h" 27#include "via_i2c.h"
25#include "global.h"
26 28
27/* 29/*
28 * There can only be one set of these, so there's no point in having 30 * There can only be one set of these, so there's no point in having