aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2010-05-05 14:24:18 -0600
committerJonathan Corbet <corbet@lwn.net>2010-05-11 16:07:33 -0600
commit9221fc6556d6fa14b5c61050dd87e26fc4ad255c (patch)
treedfc8c3eb9b6126a69ff7ac329b6402397b996c17 /drivers/video
parentviafb: get rid of i2c debug cruft (diff)
downloadlinux-dev-9221fc6556d6fa14b5c61050dd87e26fc4ad255c.tar.xz
linux-dev-9221fc6556d6fa14b5c61050dd87e26fc4ad255c.zip
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')
-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 @@
#include <linux/platform_device.h>
#include "via-core.h"
#include "via-gpio.h"
-#include "global.h"
/*
* 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 @@
*/
#include <linux/platform_device.h>
+#include <linux/delay.h>
+#include <linux/spinlock.h>
+#include <linux/module.h>
#include "via-core.h"
#include "via_i2c.h"
-#include "global.h"
/*
* There can only be one set of these, so there's no point in having