All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maykel Moya <moya-lists@infomed.sld.cu>
To: video4linux-list <video4linux-list@redhat.com>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Subject: [PATCH] tm6000: make tree buildable
Date: Mon, 28 Apr 2008 18:20:26 -0400	[thread overview]
Message-ID: <1209421227.17970.46.camel@localhost> (raw)

[-- Attachment #1: Type: text/plain, Size: 172 bytes --]

The tip of tm6010 as of 20080428 (rev: baa8870a) fails to build from
source. Find attached a patch to make it buildable.

Signed-off-by: Maykel Moya <moya@infomed.sld.cu>


[-- Attachment #2: make-tree-buildable --]
[-- Type: text/plain, Size: 687 bytes --]

FIX: Make tree actually build

diff -r c945d3faba4f linux/drivers/media/video/tm6000/tm6000-dvb.c
--- a/linux/drivers/media/video/tm6000/tm6000-dvb.c	Mon Apr 28 01:50:24 2008 -0400
+++ b/linux/drivers/media/video/tm6000/tm6000-dvb.c	Mon Apr 28 10:09:01 2008 -0400
@@ -212,6 +212,8 @@
 	return (!dvb->frontend) ? -1 : 0;
 }
 
+DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);
+
 int tm6000_dvb_register(struct tm6000_core *dev)
 {
 	int ret = -1;
@@ -229,7 +231,7 @@
 	}
 
 	ret = dvb_register_adapter(&dvb->adapter, "Trident TVMaster 6000 DVB-T",
-							  THIS_MODULE, &dev->udev->dev);
+							  THIS_MODULE, &dev->udev->dev, adapter_nr);
 	dvb->adapter.priv = dev;
 
 	if (dvb->frontend) {

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

                 reply	other threads:[~2008-04-28 22:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1209421227.17970.46.camel@localhost \
    --to=moya-lists@infomed.sld.cu \
    --cc=mchehab@infradead.org \
    --cc=video4linux-list@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.