diff options
Diffstat (limited to 'v4l')
-rw-r--r-- | v4l/ChangeLog | 11 | ||||
-rw-r--r-- | v4l/scripts/buildpatch | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/v4l/ChangeLog b/v4l/ChangeLog index a1b05e28b..fa609ec8f 100644 --- a/v4l/ChangeLog +++ b/v4l/ChangeLog @@ -1,3 +1,14 @@ +2005-08-03 03:19 mchehab + + * scripts/buildpatch: + - treating MM_KERNEL as non-mm. + + * bttv-cards.c,bttv-driver.c: + - no_overlay bttv insmod parameter now works. + + Signed-off-by: Michael Krufky <mkrufky@m1k.net> + Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br> + 2005-08-01 16:36 mkrufky * bttv-cards.c: - Fixed audio GPIO on DViCO FusionHDTV5 Lite, bttv card # 0x87. diff --git a/v4l/scripts/buildpatch b/v4l/scripts/buildpatch index fa9322fdf..319c46cf0 100644 --- a/v4l/scripts/buildpatch +++ b/v4l/scripts/buildpatch @@ -62,6 +62,14 @@ sub filter_source ($$) { if ($line =~ m/^#include \"compat.h\"/) { next; } + if ($line =~ /^#ifdef MM_KERNEL/) { + chomp($line); + $line =~ s@^#if\s*@@; + $state = "if"; + $if = eval $line; + print OUT "/* BP #if $if ($line) */\n" if $DEBUG; + next; + } if ($line =~ /^#if 0/) { chomp($line); $state = "if"; |