diff options
Diffstat (limited to 'drivers/media/dvb-frontends/stb6000.h')
| -rw-r--r-- | drivers/media/dvb-frontends/stb6000.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/media/dvb-frontends/stb6000.h b/drivers/media/dvb-frontends/stb6000.h index 78e75dfc317f..e94a3d5facf6 100644 --- a/drivers/media/dvb-frontends/stb6000.h +++ b/drivers/media/dvb-frontends/stb6000.h | |||
| @@ -26,15 +26,16 @@ | |||
| 26 | #include <linux/i2c.h> | 26 | #include <linux/i2c.h> |
| 27 | #include "dvb_frontend.h" | 27 | #include "dvb_frontend.h" |
| 28 | 28 | ||
| 29 | #if IS_REACHABLE(CONFIG_DVB_STB6000) | ||
| 29 | /** | 30 | /** |
| 30 | * Attach a stb6000 tuner to the supplied frontend structure. | 31 | * Attach a stb6000 tuner to the supplied frontend structure. |
| 31 | * | 32 | * |
| 32 | * @param fe Frontend to attach to. | 33 | * @fe: Frontend to attach to. |
| 33 | * @param addr i2c address of the tuner. | 34 | * @addr: i2c address of the tuner. |
| 34 | * @param i2c i2c adapter to use. | 35 | * @i2c: i2c adapter to use. |
| 35 | * @return FE pointer on success, NULL on failure. | 36 | * |
| 37 | * return: FE pointer on success, NULL on failure. | ||
| 36 | */ | 38 | */ |
| 37 | #if IS_REACHABLE(CONFIG_DVB_STB6000) | ||
| 38 | extern struct dvb_frontend *stb6000_attach(struct dvb_frontend *fe, int addr, | 39 | extern struct dvb_frontend *stb6000_attach(struct dvb_frontend *fe, int addr, |
| 39 | struct i2c_adapter *i2c); | 40 | struct i2c_adapter *i2c); |
| 40 | #else | 41 | #else |
