From: "Albert R. Valiev" <darkstar@altlinux.ru>
To: ALT Linux kernel packages development <devel-kernel@altlinux.ru>
Subject: Re: [d-kernel] bttv drivers fix
Date: Wed, 30 Jul 2003 08:25:03 +0400
Message-ID: <200307300825.07646.darkstar@altlinux.ru> (raw)
In-Reply-To: <200307292035.54392.darkstar@altlinux.ru>
[-- Attachment #1.1: body text --]
[-- Type: text/plain, Size: 417 bytes --]
В сообщении от 29 Июль 2003 20:35 Albert R. Valiev написал:
> Всем привет!
>
> Возможно я неправ, однако в
> kernel-source-2.4.21/drivers/addon/bttv/tvmixer.c допущена
> ошибка, из-за которой драйвер не собирается, патч в аттаче
Малость поправленный патчик, опять в атаче
--
With Best Regards, Albert R. Valiev
------------------------------------
ALT Linux Team [www.altlinux.ru]
ARV-DARKSTAR-RIPN, ARV2-RIPE
[-- Attachment #1.2: 03_bttv-2.4.21-fix-build.patch --]
[-- Type: text/x-diff, Size: 1137 bytes --]
--- kernel-source-2.4.21-orig/drivers/addon/bttv/bttv-if.c 2003-03-06 17:38:44 +0300
+++ kernel-source-2.4.21/drivers/addon/bttv/bttv-if.c 2003-07-30 08:22:31 +0400
@@ -253,7 +253,7 @@
};
static struct i2c_adapter bttv_i2c_adap_template = {
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,54)
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,5,54)
.owner = THIS_MODULE,
#else
.inc_use = bttv_inc_use,
--- kernel-source-2.4.21-orig/drivers/addon/bttv/tvmixer.c 2003-03-07 00:09:31 +0300
+++ kernel-source-2.4.21/drivers/addon/bttv/tvmixer.c 2003-07-30 08:20:01 +0400
@@ -196,7 +196,7 @@
/* lock bttv in memory while the mixer is in use */
file->private_data = mix;
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,54)
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,54)
if (client->adapter->inc_use)
client->adapter->inc_use(client->adapter);
#else
@@ -216,7 +216,7 @@
return -ENODEV;
}
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,54)
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,54)
if (client->adapter->dec_use)
client->adapter->dec_use(client->adapter);
#else
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-07-30 4:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-29 16:35 Albert R. Valiev
2003-07-30 4:25 ` Albert R. Valiev [this message]
2003-07-30 10:29 ` [d-kernel] " Sergey Vlasov
2003-07-30 11:14 ` Albert R. Valiev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200307300825.07646.darkstar@altlinux.ru \
--to=darkstar@altlinux.ru \
--cc=devel-kernel@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux kernel packages development
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
public-inbox-index devel-kernel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git