From: Cyrill Gorcunov Date: Tue, 30 Dec 2008 19:40:00 +0000 (-0300) Subject: V4L/DVB (10144): cx24116: build fix X-Git-Tag: accepted/tizen/common/20141203.182822~18258^2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9ed55375919bc30c448c6dd5107e8d593f96856f;p=platform%2Fkernel%2Flinux-arm64.git 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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/frontends/cx24116.h b/drivers/media/dvb/frontends/cx24116.h index 4cb3ddd..b1b76b4 100644 --- a/drivers/media/dvb/frontends/cx24116.h +++ b/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);