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
changeset: 13157:df47ca1f4db5
user: David T.L. Wong <davidtlwong@xxxxxxxxx>
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;