Commit | Line | Data |
---|---|---|
3c01ad20 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
29ff8406 DS |
2 | /* |
3 | * Driver for the ST STV6111 tuner | |
4 | * | |
5 | * Copyright (C) 2014 Digital Devices GmbH | |
29ff8406 DS |
6 | */ |
7 | ||
44173fda DS |
8 | #ifndef _STV6111_H_ |
9 | #define _STV6111_H_ | |
10 | ||
11 | #if IS_REACHABLE(CONFIG_DVB_STV6111) | |
12 | ||
2af07a49 DS |
13 | struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe, |
14 | struct i2c_adapter *i2c, u8 adr); | |
44173fda DS |
15 | |
16 | #else | |
17 | ||
18 | static inline struct dvb_frontend *stv6111_attach(struct dvb_frontend *fe, | |
2af07a49 DS |
19 | struct i2c_adapter *i2c, |
20 | u8 adr) | |
44173fda DS |
21 | { |
22 | pr_warn("%s: Driver disabled by Kconfig\n", __func__); | |
23 | return NULL; | |
24 | } | |
25 | ||
26 | #endif /* CONFIG_DVB_STV6111 */ | |
27 | ||
28 | #endif /* _STV6111_H_ */ |