summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 22:40:00 +0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 22:40:00 +0300
commitd2240c64f5eac6aef7490e451eeeaddddd4f3457 (patch)
tree422c24ed07d4efd2e69b75b0bb3b31d2f772e635 /linux/drivers
parent3f85abb813f1ad7454fb7a2f8e2998373571fe39 (diff)
downloadmediapointer-dvb-s2-d2240c64f5eac6aef7490e451eeeaddddd4f3457.tar.gz
mediapointer-dvb-s2-d2240c64f5eac6aef7490e451eeeaddddd4f3457.tar.bz2
cx24116 - build fix
From: Cyrill Gorcunov <gorcunov@gmail.com> 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>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/frontends/cx24116.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/cx24116.h b/linux/drivers/media/dvb/frontends/cx24116.h
index 4cb3ddd6c..b1b76b47a 100644
--- a/linux/drivers/media/dvb/frontends/cx24116.h
+++ b/linux/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);