Skip to contentSkip to conversation

remove version.h from bttv

PATCH In review [email protected] 3 participants 3 messages Aug 11, 2003 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove version.h from bttv

drivers/media/video/bttvp.h +1 -1
diff -urpN --exclude-from=/home/davej/.exclude bk-linus/drivers/media/video/bttvp.h linux-2.5/drivers/media/video/bttvp.h
@@ -24,7 +24,7 @@
 #ifndef _BTTVP_H_
 #define _BTTVP_H_
 
-#include <linux/version.h>
+
 #define BTTV_VERSION_CODE KERNEL_VERSION(0,9,11)
 
 #include <linux/types.h>
#1 lore raw

drivers/media/video/bttvp.h line 28

Quoted 3 lines · [email protected] writes:
drivers/media/video/bttvp.h +1 -1
-#include <linux/version.h>
+
 #define BTTV_VERSION_CODE KERNEL_VERSION(0,9,11)
                             ^^^^^^^^^^^^^^

I'm pretty sure this will break the build ...

Gerd

Signature · 1 line
sigfault
#2 lore raw
Quoted 8 lines · Gerd Knorr

drivers/media/video/bttvp.h line 28

Quoted 3 lines · [email protected] writes:
drivers/media/video/bttvp.h +1 -1
-#include <linux/version.h>
+
 #define BTTV_VERSION_CODE KERNEL_VERSION(0,9,11)
                             ^^^^^^^^^^^^^^

I'm pretty sure this will break the build ...

Not if all consumers of that .h file have already #included version.h (perhaps indirectly).