[PATCH 3/5] viafb: Eliminate some global.h references

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jonathan Corbet
Date: Wednesday, May 5, 2010 - 3:34 pm

The various subdev drivers (other than the framebuffer itself) no longer
need this file.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
---
 drivers/video/via/via-gpio.c |    1 -
 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 63cb7ac..67d699c 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 84ec2d6..2291765 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
-- 
1.7.0.1

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] Third OLPC viafb patch series (camera driver), Jonathan Corbet, (Wed May 5, 3:34 pm)
[PATCH 1/5] viafb: fold via_io.h into via-core.h, Jonathan Corbet, (Wed May 5, 3:34 pm)
[PATCH 2/5] viafb: get rid of i2c debug cruft, Jonathan Corbet, (Wed May 5, 3:34 pm)
[PATCH 3/5] viafb: Eliminate some global.h references, Jonathan Corbet, (Wed May 5, 3:34 pm)
[PATCH 5/5] Add the viafb video capture driver, Jonathan Corbet, (Wed May 5, 3:34 pm)
Re: [PATCH 5/5] Add the viafb video capture driver, Mauro Carvalho Chehab, (Sun May 23, 5:51 am)
Re: [PATCH 5/5] Add the viafb video capture driver, Jonathan Corbet, (Mon May 24, 4:22 pm)
Re: [PATCH 5/5] Add the viafb video capture driver, Mauro Carvalho Chehab, (Mon May 24, 6:02 pm)