public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tm6000: make tree buildable
@ 2008-04-28 22:20 Maykel Moya
  0 siblings, 0 replies; only message in thread
From: Maykel Moya @ 2008-04-28 22:20 UTC (permalink / raw)
  To: video4linux-list; +Cc: Mauro Carvalho Chehab

[-- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-28 22:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-28 22:20 [PATCH] tm6000: make tree buildable Maykel Moya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox