Commit 7c59b661 authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare

i2c: Cleanup the includes of <linux/i2c.h>

Clean up the includes of <linux/i2c.h>. Only include this header file
when we actually need it.
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent f75803de
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include <linux/cpufreq.h> #include <linux/cpufreq.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/sysdev.h> #include <linux/sysdev.h>
#include <linux/i2c.h>
#include <linux/hardirq.h> #include <linux/hardirq.h>
#include <asm/prom.h> #include <asm/prom.h>
#include <asm/machdep.h> #include <asm/machdep.h>
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/videodev2.h> #include <linux/videodev2.h>
#include <linux/i2c.h>
#include <media/tuner.h> #include <media/tuner.h>
#include <media/cx2341x.h> #include <media/cx2341x.h>
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#ifndef __LINUX_OVCAMCHIP_PRIV_H #ifndef __LINUX_OVCAMCHIP_PRIV_H
#define __LINUX_OVCAMCHIP_PRIV_H #define __LINUX_OVCAMCHIP_PRIV_H
#include <linux/i2c.h>
#include <media/ovcamchip.h> #include <media/ovcamchip.h>
#ifdef DEBUG #ifdef DEBUG
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/i2c.h>
#include <media/v4l2-dev.h> #include <media/v4l2-dev.h>
#include <media/tuner.h> #include <media/tuner.h>
#include "usbvision.h" #include "usbvision.h"
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include <linux/videodev.h> #include <linux/videodev.h>
#include <media/v4l2-common.h> #include <media/v4l2-common.h>
#include <linux/i2c.h>
/* --------------------------------- */ /* --------------------------------- */
/* ENUMERATIONS */ /* ENUMERATIONS */
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#define _TUNER_H #define _TUNER_H
#include <linux/videodev2.h> #include <linux/videodev2.h>
#include <linux/i2c.h>
#include <media/tuner-types.h> #include <media/tuner-types.h>
extern int tuner_debug; extern int tuner_debug;
......
#ifndef _TAS_IOCTL_H_ #ifndef _TAS_IOCTL_H_
#define _TAS_IOCTL_H_ #define _TAS_IOCTL_H_
#include <linux/i2c.h>
#include <linux/soundcard.h> #include <linux/soundcard.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment