From: Martin Loschwitz <madkiss@madkiss.org>
To: Loic Jaquemet <jal@les3stagiaires.freeserve.co.uk>,
linux-kernel@vger.kernel.org
Subject: [PATCH] 2.5.49: make bttv compiling again
Date: Sat, 23 Nov 2002 11:19:48 +0100 [thread overview]
Message-ID: <20021123101948.GA623@minerva.local.lan> (raw)
In-Reply-To: <20021123041250.10af38e3.jal@les3stagiaires.freeserve.co.uk>
[-- Attachment #1: Type: text/plain, Size: 1450 bytes --]
Hi all,
in order to make bttv compiling in 2.5.49, the following patch was necessary
for me.
### BEGIN PATCH ###
diff -ruN linux-2.5.49-old/drivers/media/video/audiochip.h linux-2.5.49/drivers/media/video/audiochip.h
--- linux-2.5.49-old/drivers/media/video/audiochip.h 2002-11-22 22:40:23.000000000 +0100
+++ linux-2.5.49/drivers/media/video/audiochip.h 2002-11-23 10:24:19.000000000 +0100
@@ -67,4 +67,7 @@
#define AUDC_SWITCH_MUTE _IO('m',16) /* turn on mute */
#endif
+/* misc stuff to pass around config info to i2c chips */
+#define AUDC_CONFIG_PINNACLE _IOW('m',32,int)
+
#endif /* AUDIOCHIP_H */
diff -ruN linux-2.5.49-old/drivers/media/video/bttv-cards.c linux-2.5.49/drivers/media/video/bttv-cards.c
--- linux-2.5.49-old/drivers/media/video/bttv-cards.c 2002-11-22 22:40:42.000000000 +0100
+++ linux-2.5.49/drivers/media/video/bttv-cards.c 2002-11-23 10:24:38.000000000 +0100
@@ -2990,7 +2990,7 @@
/* print which chipset we have */
while ((dev = pci_find_class(PCI_CLASS_BRIDGE_HOST << 8,dev)))
- printk(KERN_INFO "bttv: Host bridge is %s\n",dev->name);
+ printk(KERN_INFO "bttv: Host bridge is %s\n",dev->dev.name);
/* print warnings about any quirks found */
if (triton1)
### END PATCH ###
--
.''`. Name: Martin Loschwitz
: :' : E-Mail: madkiss@madkiss.org
`. `'` www: http://www.madkiss.org/
`- Use Debian GNU/Linux - http://www.debian.org
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2002-11-23 10:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-23 4:12 2.5.49 - bttv module not compiling Loic Jaquemet
2002-11-23 9:24 ` Adrian Bunk
2002-11-23 10:19 ` Martin Loschwitz [this message]
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=20021123101948.GA623@minerva.local.lan \
--to=madkiss@madkiss.org \
--cc=jal@les3stagiaires.freeserve.co.uk \
--cc=linux-kernel@vger.kernel.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®