]> err.no Git - linux-2.6/commitdiff
V4L/DVB (8549): mxl5007: Fix an error at include file
authorMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 27 Jul 2008 22:30:46 +0000 (19:30 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 27 Jul 2008 22:36:08 +0000 (19:36 -0300)
mxl5007 was forcing for its compilation:

In file included from drivers/media/common/tuners/mxl5007t.c:25:drivers/media/common/tuners/mxl5007t.h:80:1: warning: "CONFIG_MEDIA_TUNER_MXL5007T" redefined
In file included from <command-line>:0:
./include/linux/autoconf.h:2782:1: warning: this is the location of the previous definition

Probably, some temporary hack for testing.

Cc: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/common/tuners/mxl5007t.h

index a1ee3628b7ff10c12380ff296e46152bb0c1af36..aa3eea0b52624ce17b2b43f523c9029be36a56b1 100644 (file)
@@ -77,7 +77,6 @@ struct mxl5007t_config {
        unsigned int clk_out_enable:1;
 };
 
-#define CONFIG_MEDIA_TUNER_MXL5007T
 #if defined(CONFIG_MEDIA_TUNER_MXL5007T) || (defined(CONFIG_MEDIA_TUNER_MXL5007T_MODULE) && defined(MODULE))
 extern struct dvb_frontend *mxl5007t_attach(struct dvb_frontend *fe,
                                            struct i2c_adapter *i2c, u8 addr,