media: remove include stdarg.h from some drivers
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 22 Aug 2019 13:24:12 +0000 (10:24 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 26 Aug 2019 17:01:44 +0000 (14:01 -0300)
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>
drivers/media/pci/cx18/cx18-mailbox.c
drivers/media/pci/ivtv/ivtv-mailbox.c
drivers/media/pci/ttpci/av7110_hw.c
drivers/media/radio/radio-trust.c

index 967ae29390997cf21d8f255e9625df62bcfbfb34..162480ec68caf0647f769d142fd3c5885018ad48 100644 (file)
@@ -6,7 +6,7 @@
  *  Copyright (C) 2008  Andy Walls <awalls@md.metrocast.net>
  */
 
-#include <stdarg.h>
+#include <linux/bitops.h>
 
 #include "cx18-driver.h"
 #include "cx18-io.h"
index 8393675c3f463adcfa6a81810cc2ccf4eb3bb407..d3fdaaa903f1f0d0c363e1186f8900f82442561e 100644 (file)
@@ -10,8 +10,6 @@
 #include "ivtv-driver.h"
 #include "ivtv-mailbox.h"
 
-#include <stdarg.h>
-
 /* Firmware mailbox flags*/
 #define IVTV_MBOX_FIRMWARE_DONE 0x00000004
 #define IVTV_MBOX_DRIVER_DONE   0x00000002
index 8c2442a11f0709a4830b7e46f5bb4994fda37661..e8a8ec5405e2d2deead16144ef1512ae81ecb162 100644 (file)
@@ -14,7 +14,6 @@
 /* for debugging ARM communication: */
 //#define COM_DEBUG
 
-#include <stdarg.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
index 2fc009509c7c338950f3824f320f37621f5e1b9a..dfb8b62f0e2bc4ef14c25371206aceb4e2314a65 100644 (file)
@@ -16,7 +16,6 @@
  * Converted to V4L2 API by Mauro Carvalho Chehab <mchehab@kernel.org>
  */
 
-#include <stdarg.h>
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/ioport.h>