aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb/dibusb-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/usb/dvb-usb/dibusb-common.c')
-rw-r--r--drivers/media/usb/dvb-usb/dibusb-common.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/usb/dvb-usb/dibusb-common.c b/drivers/media/usb/dvb-usb/dibusb-common.c
index af0d4321845b..c2dded92f1d3 100644
--- a/drivers/media/usb/dvb-usb/dibusb-common.c
+++ b/drivers/media/usb/dvb-usb/dibusb-common.c
@@ -8,6 +8,8 @@
8 * 8 *
9 * see Documentation/dvb/README.dvb-usb for more information 9 * see Documentation/dvb/README.dvb-usb for more information
10 */ 10 */
11
12#include <linux/kconfig.h>
11#include "dibusb.h" 13#include "dibusb.h"
12 14
13static int debug; 15static int debug;
@@ -232,8 +234,7 @@ static struct dibx000_agc_config dib3000p_panasonic_agc_config = {
232 .agc2_slope2 = 0x1e, 234 .agc2_slope2 = 0x1e,
233}; 235};
234 236
235#if defined(CONFIG_DVB_DIB3000MC) || \ 237#if IS_ENABLED(CONFIG_DVB_DIB3000MC)
236 (defined(CONFIG_DVB_DIB3000MC_MODULE) && defined(MODULE))
237 238
238static struct dib3000mc_config mod3000p_dib3000p_config = { 239static struct dib3000mc_config mod3000p_dib3000p_config = {
239 &dib3000p_panasonic_agc_config, 240 &dib3000p_panasonic_agc_config,