summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 16:29:36 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-23 09:33:30 -0300
commit028c70ff42783509d3a7c7fa0faf900446a2657a (patch)
treead14374463db97d2327a83426b8274ba4ad1246d /drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.h
parent1c59390b3b551524d4c8415bd39c9c788705c7c0 (diff)
downloadblackbird-op-linux-028c70ff42783509d3a7c7fa0faf900446a2657a.tar.gz
blackbird-op-linux-028c70ff42783509d3a7c7fa0faf900446a2657a.zip
[media] dvb-usb/dvb-usb-v2: use IS_ENABLED
Instead of checking everywhere there for 3 symbols, use instead IS_ENABLED macro. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.h')
-rw-r--r--drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.h b/drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.h
index ff333960b184..90f583e5d6a6 100644
--- a/drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.h
+++ b/drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.h
@@ -21,8 +21,8 @@
#ifndef __MXL111SF_TUNER_H__
#define __MXL111SF_TUNER_H__
+#include <linux/kconfig.h>
#include "dvb_frontend.h"
-
#include "mxl111sf.h"
enum mxl_if_freq {
@@ -60,8 +60,7 @@ struct mxl111sf_tuner_config {
/* ------------------------------------------------------------------------ */
-#if defined(CONFIG_DVB_USB_MXL111SF) || \
- (defined(CONFIG_DVB_USB_MXL111SF_MODULE) && defined(MODULE))
+#if IS_ENABLED(CONFIG_DVB_USB_MXL111SF)
extern
struct dvb_frontend *mxl111sf_tuner_attach(struct dvb_frontend *fe,
struct mxl111sf_state *mxl_state,
OpenPOWER on IntegriCloud