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

Commit c9fe1d6b authored by Tony Breeds's avatar Tony Breeds Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (7195): xc5000: fix build error when built as module



drivers/built-in.o: In function `set_type':
tuner-core.c:(.text+0x8879d): undefined reference to `xc5000_attach'

Signed-off-by: default avatarTony Breeds <tony@bakeyournoodle.com>
Reviewed-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 27d0fe18
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -45,7 +45,8 @@ struct xc5000_config {
/* xc5000 callback command */
/* xc5000 callback command */
#define XC5000_TUNER_RESET		0
#define XC5000_TUNER_RESET		0


#if defined(CONFIG_DVB_TUNER_XC5000) || defined(CONFIG_DVB_TUNER_XC5000_MODULE)
#if defined(CONFIG_DVB_TUNER_XC5000) || \
    (defined(CONFIG_DVB_TUNER_XC5000_MODULE) && defined(MODULE))
extern struct dvb_frontend* xc5000_attach(struct dvb_frontend *fe,
extern struct dvb_frontend* xc5000_attach(struct dvb_frontend *fe,
					  struct i2c_adapter *i2c,
					  struct i2c_adapter *i2c,
					  struct xc5000_config *cfg);
					  struct xc5000_config *cfg);