Commit 53a8d4c7 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[PATCH] janitor: cleanup includes (drivers/media)

From: Randy Hron <rwhron@earthlink.net>

version.h cleanup and remove duplicate #includes.
parent 64323980
#include <linux/version.h>
#include <media/saa7146_vv.h> #include <media/saa7146_vv.h>
/* helper function */ /* helper function */
......
#include <linux/version.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/string.h> #include <linux/string.h>
......
#ifndef __DVB_FUNCTIONS_H__ #ifndef __DVB_FUNCTIONS_H__
#define __DVB_FUNCTIONS_H__ #define __DVB_FUNCTIONS_H__
#include <linux/version.h>
/** /**
* a sleeping delay function, waits i ms * a sleeping delay function, waits i ms
* *
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include <linux/poll.h> #include <linux/poll.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/list.h> #include <linux/list.h>
#include <linux/version.h>
#include <linux/devfs_fs_kernel.h> #include <linux/devfs_fs_kernel.h>
#define DVB_MAJOR 250 #define DVB_MAJOR 250
......
...@@ -55,10 +55,8 @@ ...@@ -55,10 +55,8 @@
#include <linux/ptrace.h> #include <linux/ptrace.h>
#include <linux/ioport.h> #include <linux/ioport.h>
#include <linux/in.h> #include <linux/in.h>
#include <linux/slab.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/init.h>
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/inetdevice.h> #include <linux/inetdevice.h>
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
* published by the Free Software Foundation; either version 2 of * published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version. * the License, or (at your option) any later version.
*/ */
#include <linux/version.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/wait.h> #include <linux/wait.h>
...@@ -27,7 +28,6 @@ ...@@ -27,7 +28,6 @@
#include <linux/dvb/frontend.h> #include <linux/dvb/frontend.h>
#include <linux/dvb/dmx.h> #include <linux/dvb/dmx.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/usb.h>
#include "dvb_functions.h" #include "dvb_functions.h"
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
* *
*/ */
#include <linux/version.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/slab.h> #include <linux/slab.h>
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
*************************************************************************** ***************************************************************************
*/ */
#include <linux/version.h>
#include <linux/config.h> #include <linux/config.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/list.h> #include <linux/list.h>
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#define _BTTVP_H_ #define _BTTVP_H_
#include <linux/version.h>
#define BTTV_VERSION_CODE KERNEL_VERSION(0,9,11) #define BTTV_VERSION_CODE KERNEL_VERSION(0,9,11)
#include <linux/types.h> #include <linux/types.h>
......
...@@ -36,8 +36,6 @@ ...@@ -36,8 +36,6 @@
#include <linux/config.h> #include <linux/config.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/sonypi.h>
#include <linux/meye.h>
/****************************************************************************/ /****************************************************************************/
/* Motion JPEG chip registers */ /* Motion JPEG chip registers */
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
#include <linux/version.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/videodev.h> #include <linux/videodev.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