diff options
author | Jonathan Corbet <corbet@lwn.net> | 2010-05-05 22:24:18 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2010-05-12 00:07:33 +0200 |
commit | 9221fc6556d6fa14b5c61050dd87e26fc4ad255c (patch) | |
tree | dfc8c3eb9b6126a69ff7ac329b6402397b996c17 /drivers/video/via | |
parent | viafb: get rid of i2c debug cruft (diff) | |
download | linux-9221fc6556d6fa14b5c61050dd87e26fc4ad255c.tar.xz linux-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/via')
-rw-r--r-- | drivers/video/via/via-gpio.c | 1 | ||||
-rw-r--r-- | drivers/video/via/via_i2c.c | 4 |
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 |