[PATCH 80/82] remove linux/version.h from drivers/media/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



changing CONFIG_LOCALVERSION rebuilds too much, for no appearent reason.

use linux/utsname.h to get KERNEL_VERSION macro

Signed-off-by: Olaf Hering <[email protected]>

drivers/media/video/bttvp.h           |    2 +-
drivers/media/video/cx88/cx88.h       |    2 +-
drivers/media/video/saa7134/saa7134.h |    2 +-
drivers/media/video/zoran_driver.c    |    2 +-
include/media/saa7146.h               |    2 +-
5 files changed, 5 insertions(+), 5 deletions(-)

Index: linux-2.6.13-rc2-mm1/drivers/media/video/bttvp.h
===================================================================
--- linux-2.6.13-rc2-mm1.orig/drivers/media/video/bttvp.h
+++ linux-2.6.13-rc2-mm1/drivers/media/video/bttvp.h
@@ -26,7 +26,7 @@
#ifndef _BTTVP_H_
#define _BTTVP_H_

-#include <linux/version.h>
+#include <linux/utsname.h>
#define BTTV_VERSION_CODE KERNEL_VERSION(0,9,15)

#include <linux/types.h>
Index: linux-2.6.13-rc2-mm1/drivers/media/video/cx88/cx88.h
===================================================================
--- linux-2.6.13-rc2-mm1.orig/drivers/media/video/cx88/cx88.h
+++ linux-2.6.13-rc2-mm1/drivers/media/video/cx88/cx88.h
@@ -35,7 +35,7 @@
#include "btcx-risc.h"
#include "cx88-reg.h"

-#include <linux/version.h>
+#include <linux/utsname.h>
#define CX88_VERSION_CODE KERNEL_VERSION(0,0,4)

#ifndef TRUE
Index: linux-2.6.13-rc2-mm1/drivers/media/video/saa7134/saa7134.h
===================================================================
--- linux-2.6.13-rc2-mm1.orig/drivers/media/video/saa7134/saa7134.h
+++ linux-2.6.13-rc2-mm1/drivers/media/video/saa7134/saa7134.h
@@ -20,7 +20,7 @@
*  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

-#include <linux/version.h>
+#include <linux/utsname.h>
#define SAA7134_VERSION_CODE KERNEL_VERSION(0,2,13)

#include <linux/pci.h>
Index: linux-2.6.13-rc2-mm1/drivers/media/video/zoran_driver.c
===================================================================
--- linux-2.6.13-rc2-mm1.orig/drivers/media/video/zoran_driver.c
+++ linux-2.6.13-rc2-mm1/drivers/media/video/zoran_driver.c
@@ -45,7 +45,7 @@
*/

#include <linux/config.h>
-#include <linux/version.h>
+#include <linux/utsname.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/delay.h>
Index: linux-2.6.13-rc2-mm1/include/media/saa7146.h
===================================================================
--- linux-2.6.13-rc2-mm1.orig/include/media/saa7146.h
+++ linux-2.6.13-rc2-mm1/include/media/saa7146.h
@@ -1,7 +1,6 @@
#ifndef __SAA7146__
#define __SAA7146__

-#include <linux/version.h>	/* for version macros */
#include <linux/module.h>	/* for module-version */
#include <linux/delay.h>	/* for delay-stuff */
#include <linux/slab.h>		/* for kmalloc/kfree */
@@ -14,6 +13,7 @@
#include <linux/stringify.h>
#include <linux/vmalloc.h>	/* for vmalloc() */
#include <linux/mm.h>		/* for vmalloc_to_page() */
+#include <linux/utsname.h>	/* for KERNEL_VERSION */

#define SAA7146_VERSION_CODE KERNEL_VERSION(0,5,0)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux