public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* gcc 4.3.3 compilation problem
@ 2009-10-24 15:49 David T. L. Wong
  0 siblings, 0 replies; only message in thread
From: David T. L. Wong @ 2009-10-24 15:49 UTC (permalink / raw)
  To: v4l-dvb

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

I encounter a compilation error on gcc 4.3.3 ubuntu 9.04 x86_64.

The compiler complains missing parameter name for first parameter of 
function dib7000p_pid_filter().

attached patch fix the problem.

David

[-- Attachment #2: gcc4.3.3_compilation_fix.patch --]
[-- Type: text/x-patch, Size: 765 bytes --]

changeset:   13157:df47ca1f4db5
user:        David T.L. Wong <davidtlwong@gmail.com>
date:        Sat Oct 24 23:16:11 2009 +0800
summary:     fix gcc-4.3.3 compilation error

diff --git a/linux/drivers/media/dvb/frontends/dib7000p.h b/linux/drivers/media/dvb/frontends/dib7000p.h
--- a/linux/drivers/media/dvb/frontends/dib7000p.h
+++ b/linux/drivers/media/dvb/frontends/dib7000p.h
@@ -97,7 +97,7 @@
 	printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
 	return -ENODEV;
 }
-static inline int dib7000p_pid_filter(struct dvb_frontend *, u8 id, u16 pid, u8 onoff)
+static inline int dib7000p_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff)
 {
     printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
     return -ENODEV;


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

only message in thread, other threads:[~2009-10-24 15:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-24 15:49 gcc 4.3.3 compilation problem David T. L. Wong

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