Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9ed55375 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (10144): cx24116: build fix



Add missed MODULE check to eliminate inapropriate
declaration being choosed which causes a build error.

Signed-off-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent aecde8b5
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -37,7 +37,8 @@ struct cx24116_config {
	u8 mpg_clk_pos_pol:0x02;
	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(
extern struct dvb_frontend *cx24116_attach(
	const struct cx24116_config *config,
	const struct cx24116_config *config,
	struct i2c_adapter *i2c);
	struct i2c_adapter *i2c);