Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: remove include stdarg.h from some drivers

It doesn't make any sense to have gcc's stdarg.h included
inside the Linux Kernel.

Get rid of those includes.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

+1 -5
+1 -1
drivers/media/pci/cx18/cx18-mailbox.c
··· 6 6 * Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net> 7 7 */ 8 8 9 - #include <stdarg.h> 9 + #include <linux/bitops.h> 10 10 11 11 #include "cx18-driver.h" 12 12 #include "cx18-io.h"
-2
drivers/media/pci/ivtv/ivtv-mailbox.c
··· 10 10 #include "ivtv-driver.h" 11 11 #include "ivtv-mailbox.h" 12 12 13 - #include <stdarg.h> 14 - 15 13 /* Firmware mailbox flags*/ 16 14 #define IVTV_MBOX_FIRMWARE_DONE 0x00000004 17 15 #define IVTV_MBOX_DRIVER_DONE 0x00000002
-1
drivers/media/pci/ttpci/av7110_hw.c
··· 14 14 /* for debugging ARM communication: */ 15 15 //#define COM_DEBUG 16 16 17 - #include <stdarg.h> 18 17 #include <linux/types.h> 19 18 #include <linux/kernel.h> 20 19 #include <linux/string.h>
-1
drivers/media/radio/radio-trust.c
··· 16 16 * Converted to V4L2 API by Mauro Carvalho Chehab <mchehab@kernel.org> 17 17 */ 18 18 19 - #include <stdarg.h> 20 19 #include <linux/module.h> 21 20 #include <linux/init.h> 22 21 #include <linux/ioport.h>