summaryrefslogtreecommitdiff
path: root/drivers/media/tuners/fc2580.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/tuners/fc2580.h')
-rw-r--r--drivers/media/tuners/fc2580.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/drivers/media/tuners/fc2580.h b/drivers/media/tuners/fc2580.h
index 5679e44980f9..61ee0e826cb9 100644
--- a/drivers/media/tuners/fc2580.h
+++ b/drivers/media/tuners/fc2580.h
@@ -21,7 +21,6 @@
#ifndef FC2580_H
#define FC2580_H
-#include <linux/kconfig.h>
#include "dvb_frontend.h"
/*
@@ -39,29 +38,4 @@ struct fc2580_platform_data {
struct dvb_frontend *dvb_frontend;
};
-struct fc2580_config {
- /*
- * I2C address
- * 0x56, ...
- */
- u8 i2c_addr;
-
- /*
- * clock
- */
- u32 clock;
-};
-
-#if IS_REACHABLE(CONFIG_MEDIA_TUNER_FC2580)
-extern struct dvb_frontend *fc2580_attach(struct dvb_frontend *fe,
- struct i2c_adapter *i2c, const struct fc2580_config *cfg);
-#else
-static inline struct dvb_frontend *fc2580_attach(struct dvb_frontend *fe,
- struct i2c_adapter *i2c, const struct fc2580_config *cfg)
-{
- pr_warn("%s: driver disabled by Kconfig\n", __func__);
- return NULL;
-}
-#endif
-
#endif