The patch number 10144 was added via Mauro Carvalho Chehab <[email protected]>
to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel
If anyone has any objections, please let us know by sending a message to:
[email protected]
------
From: Cyrill Gorcunov <[email protected]>
cx24116 - build fix
Add missed MODULE check to eliminate inapropriate
declaration being choosed which causes a build error.
Signed-off-by: Cyrill Gorcunov <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
---
linux/drivers/media/dvb/frontends/cx24116.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff -r 1189c350a7e8 -r e9c7ced9f4b9 linux/drivers/media/dvb/frontends/cx24116.h
--- a/linux/drivers/media/dvb/frontends/cx24116.h Tue Dec 30 10:17:59
2008 -0200
+++ b/linux/drivers/media/dvb/frontends/cx24116.h Tue Dec 30 22:40:00
2008 +0300
@@ -37,7 +37,8 @@ struct cx24116_config {
u8 mpg_clk_pos_pol:0x02;
};
-#if defined(CONFIG_DVB_CX24116) || defined(CONFIG_DVB_CX24116_MODULE)
+#if defined(CONFIG_DVB_CX24116) || \
+ (defined(CONFIG_DVB_CX24116_MODULE) && defined(MODULE))
extern struct dvb_frontend *cx24116_attach(
const struct cx24116_config *config,
struct i2c_adapter *i2c);
---
Patch is available at:
http://linuxtv.org/hg/v4l-dvb/rev/e9c7ced9f4b924d499cb9b24241d2ac5fd5d243a
_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits