Browse Source

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>
Jonathan Corbet 15 years ago
parent
commit
9221fc6556
2 changed files with 3 additions and 2 deletions
  1. 0 1
      drivers/video/via/via-gpio.c
  2. 3 1
      drivers/video/via/via_i2c.c

+ 0 - 1
drivers/video/via/via-gpio.c

@@ -10,7 +10,6 @@
 #include <linux/platform_device.h>
 #include <linux/platform_device.h>
 #include "via-core.h"
 #include "via-core.h"
 #include "via-gpio.h"
 #include "via-gpio.h"
-#include "global.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

+ 3 - 1
drivers/video/via/via_i2c.c

@@ -20,9 +20,11 @@
  */
  */
 
 
 #include <linux/platform_device.h>
 #include <linux/platform_device.h>
+#include <linux/delay.h>
+#include <linux/spinlock.h>
+#include <linux/module.h>
 #include "via-core.h"
 #include "via-core.h"
 #include "via_i2c.h"
 #include "via_i2c.h"
-#include "global.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