Skip to content

Commit

Permalink
V4L/DVB (10144): cx24116: build fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Cyrill Gorcunov authored and Mauro Carvalho Chehab committed Jan 2, 2009
1 parent aecde8b commit 9ed5537
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/media/dvb/frontends/cx24116.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9ed5537

Please sign in to comment.