i2c: Cleanup the includes of <linux/i2c.h>
authorJean Delvare <khali@linux-fr.org>
Tue, 1 May 2007 21:26:29 +0000 (23:26 +0200)
committerJean Delvare <khali@hyperion.delvare>
Tue, 1 May 2007 21:26:29 +0000 (23:26 +0200)
Clean up the includes of <linux/i2c.h>. Only include this header file
when we actually need it.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
arch/powerpc/platforms/powermac/cpufreq_32.c
drivers/media/video/cx2341x.c
drivers/media/video/ovcamchip/ovcamchip_priv.h
drivers/media/video/usbvision/usbvision-cards.c
include/media/ovcamchip.h
include/media/tuner.h
sound/oss/dmasound/tas_ioctl.h

index 8943a9456bb7088b64a94c07ce0f8519b85233a8..1fe35dab0e9eb7d519569ef37265956d0b85613d 100644 (file)
@@ -25,7 +25,6 @@
 #include <linux/cpufreq.h>
 #include <linux/init.h>
 #include <linux/sysdev.h>
-#include <linux/i2c.h>
 #include <linux/hardirq.h>
 #include <asm/prom.h>
 #include <asm/machdep.h>
index 88dbdddeec42afaa34c9fded534cd5f9cbd0ab10..d73c86aeeaacb9a13e5f190492cb8ad31f419882 100644 (file)
@@ -26,7 +26,6 @@
 #include <linux/init.h>
 #include <linux/types.h>
 #include <linux/videodev2.h>
-#include <linux/i2c.h>
 
 #include <media/tuner.h>
 #include <media/cx2341x.h>
index 1231335a9f4ac345a0d312bc7da0787daec73d0c..50c7763d44b3cad08799299a9f46c2f3839be43c 100644 (file)
@@ -15,6 +15,7 @@
 #ifndef __LINUX_OVCAMCHIP_PRIV_H
 #define __LINUX_OVCAMCHIP_PRIV_H
 
+#include <linux/i2c.h>
 #include <media/ovcamchip.h>
 
 #ifdef DEBUG
index 13f69fe6360da8e774998b49a87213b872a0d672..51ab265d566ac29154c9234d3c7d60167a7fa482 100644 (file)
@@ -24,7 +24,6 @@
 
 
 #include <linux/list.h>
-#include <linux/i2c.h>
 #include <media/v4l2-dev.h>
 #include <media/tuner.h>
 #include "usbvision.h"
index 0f43451f8bb3599db431e12789cd498b71ecc168..05b9569ef1c893cb4a2129f790c6cb6bbfb272fe 100644 (file)
@@ -16,7 +16,6 @@
 
 #include <linux/videodev.h>
 #include <media/v4l2-common.h>
-#include <linux/i2c.h>
 
 /* --------------------------------- */
 /*           ENUMERATIONS            */
index a41ac41113acb5c5a2ff7e964bfc00b48fe2466e..6dcf3c45707d637518aef5b74d700fe8b2d261d7 100644 (file)
@@ -23,6 +23,7 @@
 #define _TUNER_H
 
 #include <linux/videodev2.h>
+#include <linux/i2c.h>
 #include <media/tuner-types.h>
 
 extern int tuner_debug;
index dccae3a40e01a4c32bd0712fc617e7929b2b76c9..9d12b373b4a9e78be3addf531ec80e3a4fc6bc97 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef _TAS_IOCTL_H_
 #define _TAS_IOCTL_H_
 
-#include <linux/i2c.h>
 #include <linux/soundcard.h>