Re: [GIT PATCHES for 2.6.28] V4L/DVB fixes, crash inaf9005_usb_module_init()

From: Cyrill Gorcunov
Date: Sat Dec 27 2008 - 13:09:16 EST


[Cyrill Gorcunov - Sat, Dec 27, 2008 at 08:19:33PM +0300]
...
| | | config attached. Can test any fix patch.
| | |
| | | Ingo
| | |
| |
| | Something like that?
| |
| | - Cyrill -
| |
| | ---
| | drivers/media/dvb/frontends/cx24116.h | 3 ++-
| | 1 file changed, 2 insertions(+), 1 deletion(-)
| |
| | Index: linux-2.6.git/drivers/media/dvb/frontends/cx24116.h
| | ===================================================================
| | --- linux-2.6.git.orig/drivers/media/dvb/frontends/cx24116.h
| | +++ linux-2.6.git/drivers/media/dvb/frontends/cx24116.h
| | @@ -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);
|
| hmm... don't think it will help, please ignore the patch.
|
| - Cyrill -

Heh, actually it should help I believe (i don't know how it possible
but I forgot about -D gcc option and was searching for MODULE
definition, need some coffee :)

- Cyrill -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/