diff options
| author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-12-30 14:40:00 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-01-02 14:12:12 -0500 |
| commit | 9ed55375919bc30c448c6dd5107e8d593f96856f (patch) | |
| tree | be6d1517517b3dc5d63d58285b747847c013152a | |
| parent | aecde8b53b8ee1330a5a8206200f0d6b8845a6e0 (diff) | |
V4L/DVB (10144): cx24116: build fix
Add missed MODULE check to eliminate inapropriate
declaration being choosed which causes a build error.
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
| -rw-r--r-- | drivers/media/dvb/frontends/cx24116.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/cx24116.h b/drivers/media/dvb/frontends/cx24116.h index 4cb3ddd6c626..b1b76b47a14c 100644 --- a/drivers/media/dvb/frontends/cx24116.h +++ b/drivers/media/dvb/frontends/cx24116.h | |||
| @@ -37,7 +37,8 @@ struct cx24116_config { | |||
| 37 | u8 mpg_clk_pos_pol:0x02; | 37 | u8 mpg_clk_pos_pol:0x02; |
| 38 | }; | 38 | }; |
| 39 | 39 | ||
| 40 | #if defined(CONFIG_DVB_CX24116) || defined(CONFIG_DVB_CX24116_MODULE) | 40 | #if defined(CONFIG_DVB_CX24116) || \ |
| 41 | (defined(CONFIG_DVB_CX24116_MODULE) && defined(MODULE)) | ||
| 41 | extern struct dvb_frontend *cx24116_attach( | 42 | extern struct dvb_frontend *cx24116_attach( |
| 42 | const struct cx24116_config *config, | 43 | const struct cx24116_config *config, |
| 43 | struct i2c_adapter *i2c); | 44 | struct i2c_adapter *i2c); |
