summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/tua9001.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/tuners/tua9001.h')
-rw-r--r--drivers/media/tuners/tua9001.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/media/tuners/tua9001.h b/drivers/media/tuners/tua9001.h
index 0b4fc8d26f52..5328ab23a9a9 100644
--- a/drivers/media/tuners/tua9001.h
+++ b/drivers/media/tuners/tua9001.h
@@ -21,7 +21,6 @@
#ifndef TUA9001_H
#define TUA9001_H
-#include <linux/kconfig.h>
#include "dvb_frontend.h"
/*
@@ -37,13 +36,6 @@ struct tua9001_platform_data {
struct dvb_frontend *dvb_frontend;
};
-struct tua9001_config {
- /*
- * I2C address
- */
- u8 i2c_addr;
-};
-
/*
* TUA9001 I/O PINs:
*
@@ -64,16 +56,4 @@ struct tua9001_config {
#define TUA9001_CMD_RESETN 1
#define TUA9001_CMD_RXEN 2
-#if IS_REACHABLE(CONFIG_MEDIA_TUNER_TUA9001)
-extern struct dvb_frontend *tua9001_attach(struct dvb_frontend *fe,
- struct i2c_adapter *i2c, struct tua9001_config *cfg);
-#else
-static inline struct dvb_frontend *tua9001_attach(struct dvb_frontend *fe,
- struct i2c_adapter *i2c, struct tua9001_config *cfg)
-{
- printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
- return NULL;
-}
-#endif
-
#endif
OpenPOWER on IntegriCloud